File tree Expand file tree Collapse file tree 13 files changed +29
-0
lines changed
src/unix/linux_like/linux/gnu Expand file tree Collapse file tree 13 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -868,6 +868,8 @@ pub const SYS_pkey_mprotect: ::c_long = 394;
868868pub const SYS_pkey_alloc : :: c_long = 395 ;
869869pub const SYS_pkey_free : :: c_long = 396 ;
870870pub const SYS_statx : :: c_long = 397 ;
871+ pub const SYS_pidfd_open : :: c_long = 434 ;
872+ pub const SYS_clone3 : :: c_long = 435 ;
871873
872874cfg_if ! {
873875 if #[ cfg( libc_align) ] {
Original file line number Diff line number Diff line change @@ -527,6 +527,8 @@ pub const SYS_pkey_mprotect: ::c_long = 4000 + 363;
527527pub const SYS_pkey_alloc : :: c_long = 4000 + 364 ;
528528pub const SYS_pkey_free : :: c_long = 4000 + 365 ;
529529pub const SYS_statx : :: c_long = 4000 + 366 ;
530+ pub const SYS_pidfd_open : :: c_long = 4000 + 434 ;
531+ pub const SYS_clone3 : :: c_long = 4000 + 435 ;
530532
531533pub const O_DIRECT : :: c_int = 0x8000 ;
532534pub const O_DIRECTORY : :: c_int = 0x10000 ;
Original file line number Diff line number Diff line change @@ -872,3 +872,5 @@ pub const SYS_preadv2: ::c_long = 380;
872872pub const SYS_pwritev2 : :: c_long = 381 ;
873873pub const SYS_kexec_file_load : :: c_long = 382 ;
874874pub const SYS_statx : :: c_long = 383 ;
875+ pub const SYS_pidfd_open : :: c_long = 434 ;
876+ pub const SYS_clone3 : :: c_long = 435 ;
Original file line number Diff line number Diff line change @@ -961,6 +961,10 @@ pub const SYS_copy_file_range: ::c_long = 357;
961961pub const SYS_preadv2 : :: c_long = 358 ;
962962pub const SYS_pwritev2 : :: c_long = 359 ;
963963pub const SYS_statx : :: c_long = 360 ;
964+ pub const SYS_pidfd_open : :: c_long = 434 ;
965+ // Reserved in the kernel, but not actually implemented yet
966+ pub const SYS_clone3 : :: c_long = 435 ;
967+
964968
965969#[ link( name = "util" ) ]
966970extern "C" {
Original file line number Diff line number Diff line change @@ -1103,6 +1103,8 @@ pub const SYS_pkey_mprotect: ::c_long = 380;
11031103pub const SYS_pkey_alloc : :: c_long = 381 ;
11041104pub const SYS_pkey_free : :: c_long = 382 ;
11051105pub const SYS_statx : :: c_long = 383 ;
1106+ pub const SYS_pidfd_open : :: c_long = 434 ;
1107+ pub const SYS_clone3 : :: c_long = 435 ;
11061108
11071109// offsets in user_regs_structs, from sys/reg.h
11081110pub const EBX : :: c_int = 0 ;
Original file line number Diff line number Diff line change @@ -987,6 +987,8 @@ pub const SYS_pkey_mprotect: ::c_long = 288;
987987pub const SYS_pkey_alloc : :: c_long = 289 ;
988988pub const SYS_pkey_free : :: c_long = 290 ;
989989pub const SYS_statx : :: c_long = 291 ;
990+ pub const SYS_pidfd_open : :: c_long = 434 ;
991+ pub const SYS_clone3 : :: c_long = 435 ;
990992
991993#[ link( name = "util" ) ]
992994extern "C" {
Original file line number Diff line number Diff line change @@ -577,6 +577,8 @@ pub const SYS_pkey_mprotect: ::c_long = 5000 + 323;
577577pub const SYS_pkey_alloc : :: c_long = 5000 + 324 ;
578578pub const SYS_pkey_free : :: c_long = 5000 + 325 ;
579579pub const SYS_statx : :: c_long = 5000 + 326 ;
580+ pub const SYS_pidfd_open : :: c_long = 5000 + 434 ;
581+ pub const SYS_clone3 : :: c_long = 5000 + 435 ;
580582
581583pub const SFD_CLOEXEC : :: c_int = 0x080000 ;
582584
Original file line number Diff line number Diff line change @@ -1037,6 +1037,8 @@ pub const SYS_preadv2: ::c_long = 380;
10371037pub const SYS_pwritev2 : :: c_long = 381 ;
10381038pub const SYS_kexec_file_load : :: c_long = 382 ;
10391039pub const SYS_statx : :: c_long = 383 ;
1040+ pub const SYS_pidfd_open : :: c_long = 434 ;
1041+ pub const SYS_clone3 : :: c_long = 435 ;
10401042
10411043#[ link( name = "util" ) ]
10421044extern "C" {
Original file line number Diff line number Diff line change @@ -857,3 +857,5 @@ pub const SYS_pkey_mprotect: ::c_long = 288;
857857pub const SYS_pkey_alloc : :: c_long = 289 ;
858858pub const SYS_pkey_free : :: c_long = 290 ;
859859pub const SYS_statx : :: c_long = 291 ;
860+ pub const SYS_pidfd_open : :: c_long = 434 ;
861+ pub const SYS_clone3 : :: c_long = 435 ;
Original file line number Diff line number Diff line change @@ -1007,6 +1007,8 @@ pub const SYS_setfsuid: ::c_long = 215;
10071007pub const SYS_setfsgid : :: c_long = 216 ;
10081008pub const SYS_newfstatat : :: c_long = 293 ;
10091009pub const SYS_statx : :: c_long = 379 ;
1010+ pub const SYS_pidfd_open : :: c_long = 434 ;
1011+ pub const SYS_clone3 : :: c_long = 435 ;
10101012
10111013#[ link( name = "util" ) ]
10121014extern "C" {
You can’t perform that action at this time.
0 commit comments