File tree 13 files changed +38
-4
lines changed 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;
6
6
pub const O_NOFOLLOW : :: c_int = 0x8000 ;
7
7
pub const O_LARGEFILE : :: c_int = 0o400000 ;
8
8
9
+ pub const SYS_pivot_root : :: c_long = 218 ;
9
10
pub 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;
54
54
pub const O_NOFOLLOW : :: c_int = 0x8000 ;
55
55
pub const O_LARGEFILE : :: c_int = 0o400000 ;
56
56
57
+ pub const SYS_pivot_root : :: c_long = 41 ;
57
58
pub 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 ;
58
61
59
62
pub const SIGSTKSZ : :: size_t = 16384 ;
60
63
pub 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;
269
269
270
270
pub const RLIM_INFINITY : :: rlim_t = 0x7fffffff ;
271
271
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;
251
251
252
252
pub const RLIM_INFINITY : :: rlim_t = 0xffff_ffff_ffff_ffff ;
253
253
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;
371
371
pub const FIONREAD : :: c_int = 0x541B ;
372
372
pub const TIOCCONS : :: c_int = 0x541D ;
373
373
374
+ pub const SYS_pivot_root : :: c_long = 218 ;
374
375
pub const SYS_gettid : :: c_long = 224 ;
375
376
pub const SYS_perf_event_open : :: c_long = 364 ;
377
+ pub const SYS_memfd_create : :: c_long = 385 ;
376
378
377
379
pub const POLLWRNORM : :: c_short = 0x100 ;
378
380
pub 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;
382
382
pub const FIONREAD : :: c_int = 0x467F ;
383
383
pub const TIOCCONS : :: c_int = 0x80047478 ;
384
384
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 ;
387
390
388
391
pub const POLLWRNORM : :: c_short = 0x4 ;
389
392
pub const POLLWRBAND : :: c_short = 0x100 ;
Original file line number Diff line number Diff line change 1
1
pub type c_char = u8 ;
2
2
pub type __u64 = :: c_ulonglong ;
3
3
4
+ pub const SYS_pivot_root : :: c_long = 41 ;
5
+ pub const SYS_gettid : :: c_long = 178 ;
4
6
pub 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 1
1
pub type c_char = u8 ;
2
2
pub type __u64 = :: c_ulong ;
3
3
4
+ pub const SYS_pivot_root : :: c_long = 203 ;
5
+ pub const SYS_gettid : :: c_long = 207 ;
4
6
pub 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;
125
125
pub const FIOCLEX : :: c_ulong = 0x5451 ;
126
126
pub const FIONBIO : :: c_ulong = 0x5421 ;
127
127
128
+ pub const SYS_pivot_root : :: c_long = 218 ;
128
129
pub const SYS_gettid : :: c_long = 224 ;
129
130
pub const SYS_perf_event_open : :: c_long = 364 ;
131
+ pub const SYS_memfd_create : :: c_long = 385 ;
130
132
131
133
pub const PTRACE_GETFPXREGS : :: c_uint = 18 ;
132
134
pub 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;
126
126
pub const FIOCLEX : :: c_ulong = 0x20006601 ;
127
127
pub const FIONBIO : :: c_ulong = 0x8004667e ;
128
128
129
+ pub const SYS_pivot_root : :: c_long = 203 ;
129
130
pub const SYS_gettid : :: c_long = 207 ;
130
131
pub const SYS_perf_event_open : :: c_long = 319 ;
132
+ pub const SYS_memfd_create : :: c_long = 360 ;
131
133
132
134
pub const MCL_CURRENT : :: c_int = 0x2000 ;
133
135
pub const MCL_FUTURE : :: c_int = 0x4000 ;
Original file line number Diff line number Diff line change @@ -367,8 +367,10 @@ pub const EDEADLOCK: ::c_int = 35;
367
367
pub const FIOCLEX : :: c_ulong = 0x5451 ;
368
368
pub const FIONBIO : :: c_ulong = 0x5421 ;
369
369
370
+ pub const SYS_pivot_root : :: c_long = 41 ;
370
371
pub const SYS_gettid : :: c_long = 178 ;
371
372
pub const SYS_perf_event_open : :: c_long = 241 ;
373
+ pub const SYS_memfd_create : :: c_long = 279 ;
372
374
373
375
pub const MCL_CURRENT : :: c_int = 0x0001 ;
374
376
pub const MCL_FUTURE : :: c_int = 0x0002 ;
Original file line number Diff line number Diff line change @@ -365,8 +365,10 @@ pub const EDEADLOCK: ::c_int = 58;
365
365
pub const FIOCLEX : :: c_ulong = 0x20006601 ;
366
366
pub const FIONBIO : :: c_ulong = 0x8004667e ;
367
367
368
+ pub const SYS_pivot_root : :: c_long = 203 ;
368
369
pub const SYS_gettid : :: c_long = 207 ;
369
370
pub const SYS_perf_event_open : :: c_long = 319 ;
371
+ pub const SYS_memfd_create : :: c_long = 360 ;
370
372
371
373
pub const MCL_CURRENT : :: c_int = 0x2000 ;
372
374
pub const MCL_FUTURE : :: c_int = 0x4000 ;
Original file line number Diff line number Diff line change @@ -800,8 +800,10 @@ pub const LINUX_REBOOT_CMD_RESTART2: ::c_int = 0xA1B2C3D4;
800
800
pub const LINUX_REBOOT_CMD_SW_SUSPEND : :: c_int = 0xD000FCE2 ;
801
801
pub const LINUX_REBOOT_CMD_KEXEC : :: c_int = 0x45584543 ;
802
802
803
+ pub const SYS_pivot_root : :: c_long = 217 ;
803
804
pub const SYS_gettid : :: c_long = 236 ;
804
805
pub const SYS_perf_event_open : :: c_long = 331 ;
806
+ pub const SYS_memfd_create : :: c_long = 350 ;
805
807
806
808
pub const VTIME : usize = 5 ;
807
809
pub const VSWTC : usize = 7 ;
You can’t perform that action at this time.
0 commit comments