File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -315,8 +315,6 @@ pub const RTLD_NOW: ::c_int = 0x2;
315
315
316
316
pub const TCP_MD5SIG : :: c_int = 14 ;
317
317
318
- pub const F_DUPFD_CLOEXEC : :: c_int = 1030 ;
319
-
320
318
pub const PTHREAD_MUTEX_INITIALIZER : pthread_mutex_t = pthread_mutex_t {
321
319
__align : [ ] ,
322
320
size : [ 0 ; __SIZEOF_PTHREAD_MUTEX_T] ,
Original file line number Diff line number Diff line change @@ -161,6 +161,16 @@ pub const F_SETFD: ::c_int = 2;
161
161
pub const F_GETFL : :: c_int = 3 ;
162
162
pub const F_SETFL : :: c_int = 4 ;
163
163
164
+ // Linux-specific fcntls
165
+ pub const F_SETLEASE : :: c_int = 1024 ;
166
+ pub const F_GETLEASE : :: c_int = 1025 ;
167
+ pub const F_NOTIFY : :: c_int = 1026 ;
168
+ pub const F_DUPFD_CLOEXEC : :: c_int = 1030 ;
169
+ pub const F_SETPIPE_SZ : :: c_int = 1031 ;
170
+ pub const F_GETPIPE_SZ : :: c_int = 1032 ;
171
+
172
+ // TODO(#235): Include file sealing fcntls once we have a way to verify them.
173
+
164
174
pub const SIGTRAP : :: c_int = 5 ;
165
175
166
176
pub const PTHREAD_CREATE_JOINABLE : :: c_int = 0 ;
You can’t perform that action at this time.
0 commit comments