File tree 13 files changed +29
-0
lines changed
src/unix/linux_like/linux/gnu
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;
868
868
pub const SYS_pkey_alloc : :: c_long = 395 ;
869
869
pub const SYS_pkey_free : :: c_long = 396 ;
870
870
pub const SYS_statx : :: c_long = 397 ;
871
+ pub const SYS_pidfd_open : :: c_long = 434 ;
872
+ pub const SYS_clone3 : :: c_long = 435 ;
871
873
872
874
cfg_if ! {
873
875
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;
527
527
pub const SYS_pkey_alloc : :: c_long = 4000 + 364 ;
528
528
pub const SYS_pkey_free : :: c_long = 4000 + 365 ;
529
529
pub 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 ;
530
532
531
533
pub const O_DIRECT : :: c_int = 0x8000 ;
532
534
pub 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;
872
872
pub const SYS_pwritev2 : :: c_long = 381 ;
873
873
pub const SYS_kexec_file_load : :: c_long = 382 ;
874
874
pub 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;
961
961
pub const SYS_preadv2 : :: c_long = 358 ;
962
962
pub const SYS_pwritev2 : :: c_long = 359 ;
963
963
pub 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
+
964
968
965
969
#[ link( name = "util" ) ]
966
970
extern "C" {
Original file line number Diff line number Diff line change @@ -1103,6 +1103,8 @@ pub const SYS_pkey_mprotect: ::c_long = 380;
1103
1103
pub const SYS_pkey_alloc : :: c_long = 381 ;
1104
1104
pub const SYS_pkey_free : :: c_long = 382 ;
1105
1105
pub const SYS_statx : :: c_long = 383 ;
1106
+ pub const SYS_pidfd_open : :: c_long = 434 ;
1107
+ pub const SYS_clone3 : :: c_long = 435 ;
1106
1108
1107
1109
// offsets in user_regs_structs, from sys/reg.h
1108
1110
pub 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;
987
987
pub const SYS_pkey_alloc : :: c_long = 289 ;
988
988
pub const SYS_pkey_free : :: c_long = 290 ;
989
989
pub const SYS_statx : :: c_long = 291 ;
990
+ pub const SYS_pidfd_open : :: c_long = 434 ;
991
+ pub const SYS_clone3 : :: c_long = 435 ;
990
992
991
993
#[ link( name = "util" ) ]
992
994
extern "C" {
Original file line number Diff line number Diff line change @@ -577,6 +577,8 @@ pub const SYS_pkey_mprotect: ::c_long = 5000 + 323;
577
577
pub const SYS_pkey_alloc : :: c_long = 5000 + 324 ;
578
578
pub const SYS_pkey_free : :: c_long = 5000 + 325 ;
579
579
pub 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 ;
580
582
581
583
pub const SFD_CLOEXEC : :: c_int = 0x080000 ;
582
584
Original file line number Diff line number Diff line change @@ -1037,6 +1037,8 @@ pub const SYS_preadv2: ::c_long = 380;
1037
1037
pub const SYS_pwritev2 : :: c_long = 381 ;
1038
1038
pub const SYS_kexec_file_load : :: c_long = 382 ;
1039
1039
pub const SYS_statx : :: c_long = 383 ;
1040
+ pub const SYS_pidfd_open : :: c_long = 434 ;
1041
+ pub const SYS_clone3 : :: c_long = 435 ;
1040
1042
1041
1043
#[ link( name = "util" ) ]
1042
1044
extern "C" {
Original file line number Diff line number Diff line change @@ -857,3 +857,5 @@ pub const SYS_pkey_mprotect: ::c_long = 288;
857
857
pub const SYS_pkey_alloc : :: c_long = 289 ;
858
858
pub const SYS_pkey_free : :: c_long = 290 ;
859
859
pub 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;
1007
1007
pub const SYS_setfsgid : :: c_long = 216 ;
1008
1008
pub const SYS_newfstatat : :: c_long = 293 ;
1009
1009
pub const SYS_statx : :: c_long = 379 ;
1010
+ pub const SYS_pidfd_open : :: c_long = 434 ;
1011
+ pub const SYS_clone3 : :: c_long = 435 ;
1010
1012
1011
1013
#[ link( name = "util" ) ]
1012
1014
extern "C" {
Original file line number Diff line number Diff line change @@ -973,6 +973,9 @@ pub const SYS_copy_file_range: ::c_long = 357;
973
973
pub const SYS_preadv2 : :: c_long = 358 ;
974
974
pub const SYS_pwritev2 : :: c_long = 359 ;
975
975
pub const SYS_statx : :: c_long = 360 ;
976
+ pub const SYS_pidfd_open : :: c_long = 434 ;
977
+ // Reserved in the kernel, but not actually implemented yet
978
+ pub const SYS_clone3 : :: c_long = 435 ;
976
979
977
980
#[ link( name = "util" ) ]
978
981
extern "C" {
Original file line number Diff line number Diff line change @@ -409,6 +409,8 @@ pub const SYS_pkey_mprotect: ::c_long = 329;
409
409
pub const SYS_pkey_alloc : :: c_long = 330 ;
410
410
pub const SYS_pkey_free : :: c_long = 331 ;
411
411
pub const SYS_statx : :: c_long = 332 ;
412
+ pub const SYS_pidfd_open : :: c_long = 434 ;
413
+ pub const SYS_clone3 : :: c_long = 435 ;
412
414
413
415
#[ link( name = "util" ) ]
414
416
extern "C" {
Original file line number Diff line number Diff line change @@ -337,6 +337,8 @@ pub const SYS_pkey_mprotect: ::c_long = __X32_SYSCALL_BIT + 329;
337
337
pub const SYS_pkey_alloc : :: c_long = __X32_SYSCALL_BIT + 330 ;
338
338
pub const SYS_pkey_free : :: c_long = __X32_SYSCALL_BIT + 331 ;
339
339
pub const SYS_statx : :: c_long = __X32_SYSCALL_BIT + 332 ;
340
+ pub const SYS_pidfd_open : :: c_long = __X32_SYSCALL_BIT + 434 ;
341
+ pub const SYS_clone3 : :: c_long = __X32_SYSCALL_BIT + 435 ;
340
342
pub const SYS_rt_sigaction : :: c_long = __X32_SYSCALL_BIT + 512 ;
341
343
pub const SYS_rt_sigreturn : :: c_long = __X32_SYSCALL_BIT + 513 ;
342
344
pub const SYS_ioctl : :: c_long = __X32_SYSCALL_BIT + 514 ;
You can’t perform that action at this time.
0 commit comments