Skip to content

Commit 74bfdee

Browse files
committed
redox: define SCM_RIGHTS
1 parent 4cdbb5e commit 74bfdee

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libc-test/semver/redox.txt

+1
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ O_SHLOCK
135135
O_SYMLINK
136136
PTHREAD_STACK_MIN
137137
SA_RESTORER
138+
SCM_RIGHTS
138139
SIGIO
139140
SIGPWR
140141
SIGSTKFLT

src/unix/redox/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -782,6 +782,7 @@ pub const MSG_PEEK: c_int = 2;
782782
pub const MSG_TRUNC: c_int = 32;
783783
pub const MSG_DONTWAIT: c_int = 64;
784784
pub const MSG_WAITALL: c_int = 256;
785+
pub const SCM_RIGHTS: c_int = 1;
785786
pub const SHUT_RD: c_int = 0;
786787
pub const SHUT_WR: c_int = 1;
787788
pub const SHUT_RDWR: c_int = 2;

0 commit comments

Comments
 (0)