File tree Expand file tree Collapse file tree 13 files changed +38
-4
lines changed Expand file tree Collapse file tree 13 files changed +38
-4
lines changed Original file line number Diff line number Diff line change @@ -6,4 +6,7 @@ pub const O_DIRECTORY: ::c_int = 0x4000;
66pub const O_NOFOLLOW : :: c_int = 0x8000 ;
77pub const O_LARGEFILE : :: c_int = 0o400000 ;
88
9+ pub const SYS_pivot_root : :: c_long = 218 ;
910pub const SYS_gettid : :: c_long = 224 ;
11+ pub const SYS_perf_event_open : :: c_long = 364 ;
12+ pub const SYS_memfd_create : :: c_long = 385 ;
Original file line number Diff line number Diff line change @@ -54,7 +54,10 @@ pub const O_DIRECTORY: ::c_int = 0x4000;
5454pub const O_NOFOLLOW : :: c_int = 0x8000 ;
5555pub const O_LARGEFILE : :: c_int = 0o400000 ;
5656
57+ pub const SYS_pivot_root : :: c_long = 41 ;
5758pub const SYS_gettid : :: c_long = 178 ;
59+ pub const SYS_perf_event_open : :: c_long = 241 ;
60+ pub const SYS_memfd_create : :: c_long = 279 ;
5861
5962pub const SIGSTKSZ : :: size_t = 16384 ;
6063pub const MINSIGSTKSZ : :: size_t = 5120 ;
Original file line number Diff line number Diff line change @@ -269,4 +269,8 @@ pub const O_LARGEFILE: ::c_int = 0x2000;
269269
270270pub const RLIM_INFINITY : :: rlim_t = 0x7fffffff ;
271271
272- pub const SYS_gettid : :: c_long = 4222 ; // Valid for O32
272+ // Valid for O32
273+ pub const SYS_pivot_root : :: c_long = 4216 ;
274+ pub const SYS_gettid : :: c_long = 4222 ;
275+ pub const SYS_perf_event_open : :: c_long = 4333 ;
276+ pub const SYS_memfd_create : :: c_long = 4354 ;
Original file line number Diff line number Diff line change @@ -251,4 +251,7 @@ pub const O_LARGEFILE: ::c_int = 0;
251251
252252pub const RLIM_INFINITY : :: rlim_t = 0xffff_ffff_ffff_ffff ;
253253
254- pub const SYS_gettid : :: c_long = 5178 ; // Valid for n64
254+ // Valid for n64
255+ pub const SYS_pivot_root : :: c_long = 5151 ;
256+ pub const SYS_gettid : :: c_long = 5178 ;
257+ pub const SYS_memfd_create : :: c_long = 5314 ;
Original file line number Diff line number Diff line change @@ -371,8 +371,10 @@ pub const TIOCMSET: ::c_int = 0x5418;
371371pub const FIONREAD : :: c_int = 0x541B ;
372372pub const TIOCCONS : :: c_int = 0x541D ;
373373
374+ pub const SYS_pivot_root : :: c_long = 218 ;
374375pub const SYS_gettid : :: c_long = 224 ;
375376pub const SYS_perf_event_open : :: c_long = 364 ;
377+ pub const SYS_memfd_create : :: c_long = 385 ;
376378
377379pub const POLLWRNORM : :: c_short = 0x100 ;
378380pub const POLLWRBAND : :: c_short = 0x200 ;
Original file line number Diff line number Diff line change @@ -382,8 +382,11 @@ pub const TIOCMSET: ::c_int = 0x741A;
382382pub const FIONREAD : :: c_int = 0x467F ;
383383pub const TIOCCONS : :: c_int = 0x80047478 ;
384384
385- pub const SYS_gettid : :: c_long = 4222 ; // Valid for O32
386- pub const SYS_perf_event_open : :: c_long = 4333 ; // Valid for O32
385+ // Valid for O32
386+ pub const SYS_pivot_root : :: c_long = 4216 ;
387+ pub const SYS_gettid : :: c_long = 4222 ;
388+ pub const SYS_perf_event_open : :: c_long = 4333 ;
389+ pub const SYS_memfd_create : :: c_long = 4354 ;
387390
388391pub const POLLWRNORM : :: c_short = 0x4 ;
389392pub const POLLWRBAND : :: c_short = 0x100 ;
Original file line number Diff line number Diff line change 11pub type c_char = u8 ;
22pub type __u64 = :: c_ulonglong ;
33
4+ pub const SYS_pivot_root : :: c_long = 41 ;
5+ pub const SYS_gettid : :: c_long = 178 ;
46pub const SYS_perf_event_open : :: c_long = 241 ;
7+ pub const SYS_memfd_create : :: c_long = 279 ;
Original file line number Diff line number Diff line change 11pub type c_char = u8 ;
22pub type __u64 = :: c_ulong ;
33
4+ pub const SYS_pivot_root : :: c_long = 203 ;
5+ pub const SYS_gettid : :: c_long = 207 ;
46pub const SYS_perf_event_open : :: c_long = 319 ;
7+ pub const SYS_memfd_create : :: c_long = 360 ;
Original file line number Diff line number Diff line change @@ -125,8 +125,10 @@ pub const SO_RCVBUFFORCE: ::c_int = 33;
125125pub const FIOCLEX : :: c_ulong = 0x5451 ;
126126pub const FIONBIO : :: c_ulong = 0x5421 ;
127127
128+ pub const SYS_pivot_root : :: c_long = 218 ;
128129pub const SYS_gettid : :: c_long = 224 ;
129130pub const SYS_perf_event_open : :: c_long = 364 ;
131+ pub const SYS_memfd_create : :: c_long = 385 ;
130132
131133pub const PTRACE_GETFPXREGS : :: c_uint = 18 ;
132134pub const PTRACE_SETFPXREGS : :: c_uint = 19 ;
Original file line number Diff line number Diff line change @@ -126,8 +126,10 @@ pub const SO_PEERCRED: ::c_int = 21;
126126pub const FIOCLEX : :: c_ulong = 0x20006601 ;
127127pub const FIONBIO : :: c_ulong = 0x8004667e ;
128128
129+ pub const SYS_pivot_root : :: c_long = 203 ;
129130pub const SYS_gettid : :: c_long = 207 ;
130131pub const SYS_perf_event_open : :: c_long = 319 ;
132+ pub const SYS_memfd_create : :: c_long = 360 ;
131133
132134pub const MCL_CURRENT : :: c_int = 0x2000 ;
133135pub const MCL_FUTURE : :: c_int = 0x4000 ;
You can’t perform that action at this time.
0 commit comments