We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64da6d2 commit 4b32065Copy full SHA for 4b32065
src/unix/notbsd/linux/other/mod.rs
@@ -32,6 +32,12 @@ s! {
32
__unused4: *mut ::c_void,
33
__unused5: *mut ::c_void,
34
}
35
+
36
+ pub struct ucred {
37
+ pub pid: ::pid_t,
38
+ pub uid: ::uid_t,
39
+ pub gid: ::gid_t,
40
+ }
41
42
43
pub const RLIMIT_RSS: ::c_int = 5;
@@ -164,6 +170,7 @@ pub const SO_KEEPALIVE: ::c_int = 9;
164
170
pub const SO_OOBINLINE: ::c_int = 10;
165
171
pub const SO_LINGER: ::c_int = 13;
166
172
pub const SO_REUSEPORT: ::c_int = 15;
173
+pub const SO_PEERCRED: ::c_int = 17;
167
174
pub const SO_RCVLOWAT: ::c_int = 18;
168
175
pub const SO_SNDLOWAT: ::c_int = 19;
169
176
pub const SO_RCVTIMEO: ::c_int = 20;
0 commit comments