Skip to content

Commit df275b8

Browse files
author
Julian Orth
committed
Linux: Generate syscall numbers from kernel sources
... except for hexagon which seems to have something odd going on with syscall numbers >1000. Also do not test the validity of the values because libc is regularly missing newer syscall numbers. For those archs which use the newer unified asm-generic/unistd.h numbers we generate too many constants because a) some syscalls are optional b) we cannot perform the necessary tests without significant effort. This is not too problematic because the worst that can happen is ENOSYS which also happens when newer syscalls are executed on older kernels.
1 parent d80ee9c commit df275b8

File tree

17 files changed

+1135
-14
lines changed

17 files changed

+1135
-14
lines changed

libc-test/build.rs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
extern crate cc;
44
extern crate ctest;
55

6-
use std::env;
6+
use std::collections::HashSet;
7+
use std::{env, fs};
78

89
fn do_cc() {
910
let target = env::var("TARGET").unwrap();
@@ -2495,7 +2496,17 @@ fn test_linux(target: &str) {
24952496
}
24962497
});
24972498

2499+
let syscall_consts = fs::read_to_string("src/linux_syscall_constants")
2500+
.unwrap()
2501+
.lines()
2502+
.map(|l| l.to_owned())
2503+
.collect::<HashSet<_>>();
2504+
24982505
cfg.skip_const(move |name| {
2506+
if syscall_consts.contains(name) {
2507+
return true;
2508+
}
2509+
24992510
match name {
25002511
// These constants are not available if gnu headers have been included
25012512
// and can therefore not be tested here

libc-test/src/linux_syscall_constants

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../src/unix/linux_like/linux/kernel/syscall_constants

src/unix/linux_like/linux/kernel/b32/arm/syscalls.rs

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// Syscall table
1+
// This file was generated via generate_syscalls.sh. Do not edit it manually.
2+
23
pub const SYS_restart_syscall: ::c_long = 0;
34
pub const SYS_exit: ::c_long = 1;
45
pub const SYS_fork: ::c_long = 2;
@@ -352,3 +353,41 @@ pub const SYS_pkey_mprotect: ::c_long = 394;
352353
pub const SYS_pkey_alloc: ::c_long = 395;
353354
pub const SYS_pkey_free: ::c_long = 396;
354355
pub const SYS_statx: ::c_long = 397;
356+
pub const SYS_rseq: ::c_long = 398;
357+
pub const SYS_io_pgetevents: ::c_long = 399;
358+
pub const SYS_migrate_pages: ::c_long = 400;
359+
pub const SYS_kexec_file_load: ::c_long = 401;
360+
pub const SYS_clock_gettime64: ::c_long = 403;
361+
pub const SYS_clock_settime64: ::c_long = 404;
362+
pub const SYS_clock_adjtime64: ::c_long = 405;
363+
pub const SYS_clock_getres_time64: ::c_long = 406;
364+
pub const SYS_clock_nanosleep_time64: ::c_long = 407;
365+
pub const SYS_timer_gettime64: ::c_long = 408;
366+
pub const SYS_timer_settime64: ::c_long = 409;
367+
pub const SYS_timerfd_gettime64: ::c_long = 410;
368+
pub const SYS_timerfd_settime64: ::c_long = 411;
369+
pub const SYS_utimensat_time64: ::c_long = 412;
370+
pub const SYS_pselect6_time64: ::c_long = 413;
371+
pub const SYS_ppoll_time64: ::c_long = 414;
372+
pub const SYS_io_pgetevents_time64: ::c_long = 416;
373+
pub const SYS_recvmmsg_time64: ::c_long = 417;
374+
pub const SYS_mq_timedsend_time64: ::c_long = 418;
375+
pub const SYS_mq_timedreceive_time64: ::c_long = 419;
376+
pub const SYS_semtimedop_time64: ::c_long = 420;
377+
pub const SYS_rt_sigtimedwait_time64: ::c_long = 421;
378+
pub const SYS_futex_time64: ::c_long = 422;
379+
pub const SYS_sched_rr_get_interval_time64: ::c_long = 423;
380+
pub const SYS_pidfd_send_signal: ::c_long = 424;
381+
pub const SYS_io_uring_setup: ::c_long = 425;
382+
pub const SYS_io_uring_enter: ::c_long = 426;
383+
pub const SYS_io_uring_register: ::c_long = 427;
384+
pub const SYS_open_tree: ::c_long = 428;
385+
pub const SYS_move_mount: ::c_long = 429;
386+
pub const SYS_fsopen: ::c_long = 430;
387+
pub const SYS_fsconfig: ::c_long = 431;
388+
pub const SYS_fsmount: ::c_long = 432;
389+
pub const SYS_fspick: ::c_long = 433;
390+
pub const SYS_pidfd_open: ::c_long = 434;
391+
pub const SYS_clone3: ::c_long = 435;
392+
pub const SYS_openat2: ::c_long = 437;
393+
pub const SYS_pidfd_getfd: ::c_long = 438;

src/unix/linux_like/linux/kernel/b32/mips/syscalls.rs

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// This file was generated via generate_syscalls.sh. Do not edit it manually.
2+
13
pub const SYS_syscall: ::c_long = 4000 + 0;
24
pub const SYS_exit: ::c_long = 4000 + 1;
35
pub const SYS_fork: ::c_long = 4000 + 2;
@@ -16,6 +18,7 @@ pub const SYS_mknod: ::c_long = 4000 + 14;
1618
pub const SYS_chmod: ::c_long = 4000 + 15;
1719
pub const SYS_lchown: ::c_long = 4000 + 16;
1820
pub const SYS_break: ::c_long = 4000 + 17;
21+
pub const SYS_unused18: ::c_long = 4000 + 18;
1922
pub const SYS_lseek: ::c_long = 4000 + 19;
2023
pub const SYS_getpid: ::c_long = 4000 + 20;
2124
pub const SYS_mount: ::c_long = 4000 + 21;
@@ -25,6 +28,7 @@ pub const SYS_getuid: ::c_long = 4000 + 24;
2528
pub const SYS_stime: ::c_long = 4000 + 25;
2629
pub const SYS_ptrace: ::c_long = 4000 + 26;
2730
pub const SYS_alarm: ::c_long = 4000 + 27;
31+
pub const SYS_unused28: ::c_long = 4000 + 28;
2832
pub const SYS_pause: ::c_long = 4000 + 29;
2933
pub const SYS_utime: ::c_long = 4000 + 30;
3034
pub const SYS_stty: ::c_long = 4000 + 31;
@@ -55,6 +59,7 @@ pub const SYS_fcntl: ::c_long = 4000 + 55;
5559
pub const SYS_mpx: ::c_long = 4000 + 56;
5660
pub const SYS_setpgid: ::c_long = 4000 + 57;
5761
pub const SYS_ulimit: ::c_long = 4000 + 58;
62+
pub const SYS_unused59: ::c_long = 4000 + 59;
5863
pub const SYS_umask: ::c_long = 4000 + 60;
5964
pub const SYS_chroot: ::c_long = 4000 + 61;
6065
pub const SYS_ustat: ::c_long = 4000 + 62;
@@ -77,7 +82,9 @@ pub const SYS_gettimeofday: ::c_long = 4000 + 78;
7782
pub const SYS_settimeofday: ::c_long = 4000 + 79;
7883
pub const SYS_getgroups: ::c_long = 4000 + 80;
7984
pub const SYS_setgroups: ::c_long = 4000 + 81;
85+
pub const SYS_reserved82: ::c_long = 4000 + 82;
8086
pub const SYS_symlink: ::c_long = 4000 + 83;
87+
pub const SYS_unused84: ::c_long = 4000 + 84;
8188
pub const SYS_readlink: ::c_long = 4000 + 85;
8289
pub const SYS_uselib: ::c_long = 4000 + 86;
8390
pub const SYS_swapon: ::c_long = 4000 + 87;
@@ -102,6 +109,7 @@ pub const SYS_getitimer: ::c_long = 4000 + 105;
102109
pub const SYS_stat: ::c_long = 4000 + 106;
103110
pub const SYS_lstat: ::c_long = 4000 + 107;
104111
pub const SYS_fstat: ::c_long = 4000 + 108;
112+
pub const SYS_unused109: ::c_long = 4000 + 109;
105113
pub const SYS_iopl: ::c_long = 4000 + 110;
106114
pub const SYS_vhangup: ::c_long = 4000 + 111;
107115
pub const SYS_idle: ::c_long = 4000 + 112;
@@ -142,6 +150,7 @@ pub const SYS_writev: ::c_long = 4000 + 146;
142150
pub const SYS_cacheflush: ::c_long = 4000 + 147;
143151
pub const SYS_cachectl: ::c_long = 4000 + 148;
144152
pub const SYS_sysmips: ::c_long = 4000 + 149;
153+
pub const SYS_unused150: ::c_long = 4000 + 150;
145154
pub const SYS_getsid: ::c_long = 4000 + 151;
146155
pub const SYS_fdatasync: ::c_long = 4000 + 152;
147156
pub const SYS__sysctl: ::c_long = 4000 + 153;
@@ -212,6 +221,7 @@ pub const SYS_mincore: ::c_long = 4000 + 217;
212221
pub const SYS_madvise: ::c_long = 4000 + 218;
213222
pub const SYS_getdents64: ::c_long = 4000 + 219;
214223
pub const SYS_fcntl64: ::c_long = 4000 + 220;
224+
pub const SYS_reserved221: ::c_long = 4000 + 221;
215225
pub const SYS_gettid: ::c_long = 4000 + 222;
216226
pub const SYS_readahead: ::c_long = 4000 + 223;
217227
pub const SYS_setxattr: ::c_long = 4000 + 224;
@@ -269,7 +279,6 @@ pub const SYS_mq_notify: ::c_long = 4000 + 275;
269279
pub const SYS_mq_getsetattr: ::c_long = 4000 + 276;
270280
pub const SYS_vserver: ::c_long = 4000 + 277;
271281
pub const SYS_waitid: ::c_long = 4000 + 278;
272-
/* pub const SYS_sys_setaltroot: ::c_long = 4000 + 279; */
273282
pub const SYS_add_key: ::c_long = 4000 + 280;
274283
pub const SYS_request_key: ::c_long = 4000 + 281;
275284
pub const SYS_keyctl: ::c_long = 4000 + 282;
@@ -357,3 +366,49 @@ pub const SYS_pkey_mprotect: ::c_long = 4000 + 363;
357366
pub const SYS_pkey_alloc: ::c_long = 4000 + 364;
358367
pub const SYS_pkey_free: ::c_long = 4000 + 365;
359368
pub const SYS_statx: ::c_long = 4000 + 366;
369+
pub const SYS_rseq: ::c_long = 4000 + 367;
370+
pub const SYS_io_pgetevents: ::c_long = 4000 + 368;
371+
pub const SYS_semget: ::c_long = 4000 + 393;
372+
pub const SYS_semctl: ::c_long = 4000 + 394;
373+
pub const SYS_shmget: ::c_long = 4000 + 395;
374+
pub const SYS_shmctl: ::c_long = 4000 + 396;
375+
pub const SYS_shmat: ::c_long = 4000 + 397;
376+
pub const SYS_shmdt: ::c_long = 4000 + 398;
377+
pub const SYS_msgget: ::c_long = 4000 + 399;
378+
pub const SYS_msgsnd: ::c_long = 4000 + 400;
379+
pub const SYS_msgrcv: ::c_long = 4000 + 401;
380+
pub const SYS_msgctl: ::c_long = 4000 + 402;
381+
pub const SYS_clock_gettime64: ::c_long = 4000 + 403;
382+
pub const SYS_clock_settime64: ::c_long = 4000 + 404;
383+
pub const SYS_clock_adjtime64: ::c_long = 4000 + 405;
384+
pub const SYS_clock_getres_time64: ::c_long = 4000 + 406;
385+
pub const SYS_clock_nanosleep_time64: ::c_long = 4000 + 407;
386+
pub const SYS_timer_gettime64: ::c_long = 4000 + 408;
387+
pub const SYS_timer_settime64: ::c_long = 4000 + 409;
388+
pub const SYS_timerfd_gettime64: ::c_long = 4000 + 410;
389+
pub const SYS_timerfd_settime64: ::c_long = 4000 + 411;
390+
pub const SYS_utimensat_time64: ::c_long = 4000 + 412;
391+
pub const SYS_pselect6_time64: ::c_long = 4000 + 413;
392+
pub const SYS_ppoll_time64: ::c_long = 4000 + 414;
393+
pub const SYS_io_pgetevents_time64: ::c_long = 4000 + 416;
394+
pub const SYS_recvmmsg_time64: ::c_long = 4000 + 417;
395+
pub const SYS_mq_timedsend_time64: ::c_long = 4000 + 418;
396+
pub const SYS_mq_timedreceive_time64: ::c_long = 4000 + 419;
397+
pub const SYS_semtimedop_time64: ::c_long = 4000 + 420;
398+
pub const SYS_rt_sigtimedwait_time64: ::c_long = 4000 + 421;
399+
pub const SYS_futex_time64: ::c_long = 4000 + 422;
400+
pub const SYS_sched_rr_get_interval_time64: ::c_long = 4000 + 423;
401+
pub const SYS_pidfd_send_signal: ::c_long = 4000 + 424;
402+
pub const SYS_io_uring_setup: ::c_long = 4000 + 425;
403+
pub const SYS_io_uring_enter: ::c_long = 4000 + 426;
404+
pub const SYS_io_uring_register: ::c_long = 4000 + 427;
405+
pub const SYS_open_tree: ::c_long = 4000 + 428;
406+
pub const SYS_move_mount: ::c_long = 4000 + 429;
407+
pub const SYS_fsopen: ::c_long = 4000 + 430;
408+
pub const SYS_fsconfig: ::c_long = 4000 + 431;
409+
pub const SYS_fsmount: ::c_long = 4000 + 432;
410+
pub const SYS_fspick: ::c_long = 4000 + 433;
411+
pub const SYS_pidfd_open: ::c_long = 4000 + 434;
412+
pub const SYS_clone3: ::c_long = 4000 + 435;
413+
pub const SYS_openat2: ::c_long = 4000 + 437;
414+
pub const SYS_pidfd_getfd: ::c_long = 4000 + 438;

src/unix/linux_like/linux/kernel/b32/powerpc/syscalls.rs

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// This file was generated via generate_syscalls.sh. Do not edit it manually.
2+
13
pub const SYS_restart_syscall: ::c_long = 0;
24
pub const SYS_exit: ::c_long = 1;
35
pub const SYS_fork: ::c_long = 2;
@@ -371,3 +373,49 @@ pub const SYS_statx: ::c_long = 383;
371373
pub const SYS_pkey_alloc: ::c_long = 384;
372374
pub const SYS_pkey_free: ::c_long = 385;
373375
pub const SYS_pkey_mprotect: ::c_long = 386;
376+
pub const SYS_rseq: ::c_long = 387;
377+
pub const SYS_io_pgetevents: ::c_long = 388;
378+
pub const SYS_semget: ::c_long = 393;
379+
pub const SYS_semctl: ::c_long = 394;
380+
pub const SYS_shmget: ::c_long = 395;
381+
pub const SYS_shmctl: ::c_long = 396;
382+
pub const SYS_shmat: ::c_long = 397;
383+
pub const SYS_shmdt: ::c_long = 398;
384+
pub const SYS_msgget: ::c_long = 399;
385+
pub const SYS_msgsnd: ::c_long = 400;
386+
pub const SYS_msgrcv: ::c_long = 401;
387+
pub const SYS_msgctl: ::c_long = 402;
388+
pub const SYS_clock_gettime64: ::c_long = 403;
389+
pub const SYS_clock_settime64: ::c_long = 404;
390+
pub const SYS_clock_adjtime64: ::c_long = 405;
391+
pub const SYS_clock_getres_time64: ::c_long = 406;
392+
pub const SYS_clock_nanosleep_time64: ::c_long = 407;
393+
pub const SYS_timer_gettime64: ::c_long = 408;
394+
pub const SYS_timer_settime64: ::c_long = 409;
395+
pub const SYS_timerfd_gettime64: ::c_long = 410;
396+
pub const SYS_timerfd_settime64: ::c_long = 411;
397+
pub const SYS_utimensat_time64: ::c_long = 412;
398+
pub const SYS_pselect6_time64: ::c_long = 413;
399+
pub const SYS_ppoll_time64: ::c_long = 414;
400+
pub const SYS_io_pgetevents_time64: ::c_long = 416;
401+
pub const SYS_recvmmsg_time64: ::c_long = 417;
402+
pub const SYS_mq_timedsend_time64: ::c_long = 418;
403+
pub const SYS_mq_timedreceive_time64: ::c_long = 419;
404+
pub const SYS_semtimedop_time64: ::c_long = 420;
405+
pub const SYS_rt_sigtimedwait_time64: ::c_long = 421;
406+
pub const SYS_futex_time64: ::c_long = 422;
407+
pub const SYS_sched_rr_get_interval_time64: ::c_long = 423;
408+
pub const SYS_pidfd_send_signal: ::c_long = 424;
409+
pub const SYS_io_uring_setup: ::c_long = 425;
410+
pub const SYS_io_uring_enter: ::c_long = 426;
411+
pub const SYS_io_uring_register: ::c_long = 427;
412+
pub const SYS_open_tree: ::c_long = 428;
413+
pub const SYS_move_mount: ::c_long = 429;
414+
pub const SYS_fsopen: ::c_long = 430;
415+
pub const SYS_fsconfig: ::c_long = 431;
416+
pub const SYS_fsmount: ::c_long = 432;
417+
pub const SYS_fspick: ::c_long = 433;
418+
pub const SYS_pidfd_open: ::c_long = 434;
419+
pub const SYS_clone3: ::c_long = 435;
420+
pub const SYS_openat2: ::c_long = 437;
421+
pub const SYS_pidfd_getfd: ::c_long = 438;

src/unix/linux_like/linux/kernel/b32/sparc/syscalls.rs

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// This file was generated via generate_syscalls.sh. Do not edit it manually.
2+
13
pub const SYS_restart_syscall: ::c_long = 0;
24
pub const SYS_exit: ::c_long = 1;
35
pub const SYS_fork: ::c_long = 2;
@@ -263,6 +265,7 @@ pub const SYS_timer_gettime: ::c_long = 263;
263265
pub const SYS_timer_getoverrun: ::c_long = 264;
264266
pub const SYS_timer_delete: ::c_long = 265;
265267
pub const SYS_timer_create: ::c_long = 266;
268+
pub const SYS_vserver: ::c_long = 267;
266269
pub const SYS_io_setup: ::c_long = 268;
267270
pub const SYS_io_destroy: ::c_long = 269;
268271
pub const SYS_io_submit: ::c_long = 270;
@@ -356,3 +359,51 @@ pub const SYS_copy_file_range: ::c_long = 357;
356359
pub const SYS_preadv2: ::c_long = 358;
357360
pub const SYS_pwritev2: ::c_long = 359;
358361
pub const SYS_statx: ::c_long = 360;
362+
pub const SYS_io_pgetevents: ::c_long = 361;
363+
pub const SYS_pkey_mprotect: ::c_long = 362;
364+
pub const SYS_pkey_alloc: ::c_long = 363;
365+
pub const SYS_pkey_free: ::c_long = 364;
366+
pub const SYS_rseq: ::c_long = 365;
367+
pub const SYS_semget: ::c_long = 393;
368+
pub const SYS_semctl: ::c_long = 394;
369+
pub const SYS_shmget: ::c_long = 395;
370+
pub const SYS_shmctl: ::c_long = 396;
371+
pub const SYS_shmat: ::c_long = 397;
372+
pub const SYS_shmdt: ::c_long = 398;
373+
pub const SYS_msgget: ::c_long = 399;
374+
pub const SYS_msgsnd: ::c_long = 400;
375+
pub const SYS_msgrcv: ::c_long = 401;
376+
pub const SYS_msgctl: ::c_long = 402;
377+
pub const SYS_clock_gettime64: ::c_long = 403;
378+
pub const SYS_clock_settime64: ::c_long = 404;
379+
pub const SYS_clock_adjtime64: ::c_long = 405;
380+
pub const SYS_clock_getres_time64: ::c_long = 406;
381+
pub const SYS_clock_nanosleep_time64: ::c_long = 407;
382+
pub const SYS_timer_gettime64: ::c_long = 408;
383+
pub const SYS_timer_settime64: ::c_long = 409;
384+
pub const SYS_timerfd_gettime64: ::c_long = 410;
385+
pub const SYS_timerfd_settime64: ::c_long = 411;
386+
pub const SYS_utimensat_time64: ::c_long = 412;
387+
pub const SYS_pselect6_time64: ::c_long = 413;
388+
pub const SYS_ppoll_time64: ::c_long = 414;
389+
pub const SYS_io_pgetevents_time64: ::c_long = 416;
390+
pub const SYS_recvmmsg_time64: ::c_long = 417;
391+
pub const SYS_mq_timedsend_time64: ::c_long = 418;
392+
pub const SYS_mq_timedreceive_time64: ::c_long = 419;
393+
pub const SYS_semtimedop_time64: ::c_long = 420;
394+
pub const SYS_rt_sigtimedwait_time64: ::c_long = 421;
395+
pub const SYS_futex_time64: ::c_long = 422;
396+
pub const SYS_sched_rr_get_interval_time64: ::c_long = 423;
397+
pub const SYS_pidfd_send_signal: ::c_long = 424;
398+
pub const SYS_io_uring_setup: ::c_long = 425;
399+
pub const SYS_io_uring_enter: ::c_long = 426;
400+
pub const SYS_io_uring_register: ::c_long = 427;
401+
pub const SYS_open_tree: ::c_long = 428;
402+
pub const SYS_move_mount: ::c_long = 429;
403+
pub const SYS_fsopen: ::c_long = 430;
404+
pub const SYS_fsconfig: ::c_long = 431;
405+
pub const SYS_fsmount: ::c_long = 432;
406+
pub const SYS_fspick: ::c_long = 433;
407+
pub const SYS_pidfd_open: ::c_long = 434;
408+
pub const SYS_openat2: ::c_long = 437;
409+
pub const SYS_pidfd_getfd: ::c_long = 438;

src/unix/linux_like/linux/kernel/b32/x86/syscalls.rs

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// Syscall table
1+
// This file was generated via generate_syscalls.sh. Do not edit it manually.
2+
23
pub const SYS_restart_syscall: ::c_long = 0;
34
pub const SYS_exit: ::c_long = 1;
45
pub const SYS_fork: ::c_long = 2;
@@ -379,3 +380,50 @@ pub const SYS_pkey_mprotect: ::c_long = 380;
379380
pub const SYS_pkey_alloc: ::c_long = 381;
380381
pub const SYS_pkey_free: ::c_long = 382;
381382
pub const SYS_statx: ::c_long = 383;
383+
pub const SYS_arch_prctl: ::c_long = 384;
384+
pub const SYS_io_pgetevents: ::c_long = 385;
385+
pub const SYS_rseq: ::c_long = 386;
386+
pub const SYS_semget: ::c_long = 393;
387+
pub const SYS_semctl: ::c_long = 394;
388+
pub const SYS_shmget: ::c_long = 395;
389+
pub const SYS_shmctl: ::c_long = 396;
390+
pub const SYS_shmat: ::c_long = 397;
391+
pub const SYS_shmdt: ::c_long = 398;
392+
pub const SYS_msgget: ::c_long = 399;
393+
pub const SYS_msgsnd: ::c_long = 400;
394+
pub const SYS_msgrcv: ::c_long = 401;
395+
pub const SYS_msgctl: ::c_long = 402;
396+
pub const SYS_clock_gettime64: ::c_long = 403;
397+
pub const SYS_clock_settime64: ::c_long = 404;
398+
pub const SYS_clock_adjtime64: ::c_long = 405;
399+
pub const SYS_clock_getres_time64: ::c_long = 406;
400+
pub const SYS_clock_nanosleep_time64: ::c_long = 407;
401+
pub const SYS_timer_gettime64: ::c_long = 408;
402+
pub const SYS_timer_settime64: ::c_long = 409;
403+
pub const SYS_timerfd_gettime64: ::c_long = 410;
404+
pub const SYS_timerfd_settime64: ::c_long = 411;
405+
pub const SYS_utimensat_time64: ::c_long = 412;
406+
pub const SYS_pselect6_time64: ::c_long = 413;
407+
pub const SYS_ppoll_time64: ::c_long = 414;
408+
pub const SYS_io_pgetevents_time64: ::c_long = 416;
409+
pub const SYS_recvmmsg_time64: ::c_long = 417;
410+
pub const SYS_mq_timedsend_time64: ::c_long = 418;
411+
pub const SYS_mq_timedreceive_time64: ::c_long = 419;
412+
pub const SYS_semtimedop_time64: ::c_long = 420;
413+
pub const SYS_rt_sigtimedwait_time64: ::c_long = 421;
414+
pub const SYS_futex_time64: ::c_long = 422;
415+
pub const SYS_sched_rr_get_interval_time64: ::c_long = 423;
416+
pub const SYS_pidfd_send_signal: ::c_long = 424;
417+
pub const SYS_io_uring_setup: ::c_long = 425;
418+
pub const SYS_io_uring_enter: ::c_long = 426;
419+
pub const SYS_io_uring_register: ::c_long = 427;
420+
pub const SYS_open_tree: ::c_long = 428;
421+
pub const SYS_move_mount: ::c_long = 429;
422+
pub const SYS_fsopen: ::c_long = 430;
423+
pub const SYS_fsconfig: ::c_long = 431;
424+
pub const SYS_fsmount: ::c_long = 432;
425+
pub const SYS_fspick: ::c_long = 433;
426+
pub const SYS_pidfd_open: ::c_long = 434;
427+
pub const SYS_clone3: ::c_long = 435;
428+
pub const SYS_openat2: ::c_long = 437;
429+
pub const SYS_pidfd_getfd: ::c_long = 438;

0 commit comments

Comments
 (0)