File tree Expand file tree Collapse file tree 24 files changed +195
-0
lines changed
src/unix/linux_like/linux Expand file tree Collapse file tree 24 files changed +195
-0
lines changed Original file line number Diff line number Diff line change @@ -3152,6 +3152,17 @@ fn test_linux(target: &str) {
3152
3152
| "SYS_epoll_pwait2"
3153
3153
| "SYS_mount_setattr" => true ,
3154
3154
3155
+ // FIXME: these syscalls were added in Linux 5.13 or later
3156
+ // and are currently not included in the glibc headers.
3157
+ | "SYS_quotactl_fd"
3158
+ | "SYS_landlock_create_ruleset"
3159
+ | "SYS_landlock_add_rule"
3160
+ | "SYS_landlock_restrict_self"
3161
+ | "SYS_memfd_secret"
3162
+ | "SYS_process_mrelease"
3163
+ | "SYS_futex_waitv"
3164
+ | "SYS_set_mempolicy_home_node" => true ,
3165
+
3155
3166
// Requires more recent kernel headers:
3156
3167
| "IFLA_PROP_LIST"
3157
3168
| "IFLA_ALT_IFNAME"
Original file line number Diff line number Diff line change @@ -835,6 +835,14 @@ pub const SYS_faccessat2: ::c_long = 439;
835
835
pub const SYS_process_madvise : :: c_long = 440 ;
836
836
pub const SYS_epoll_pwait2 : :: c_long = 441 ;
837
837
pub const SYS_mount_setattr : :: c_long = 442 ;
838
+ pub const SYS_quotactl_fd : :: c_long = 443 ;
839
+ pub const SYS_landlock_create_ruleset : :: c_long = 444 ;
840
+ pub const SYS_landlock_add_rule : :: c_long = 445 ;
841
+ pub const SYS_landlock_restrict_self : :: c_long = 446 ;
842
+ pub const SYS_memfd_secret : :: c_long = 447 ;
843
+ pub const SYS_process_mrelease : :: c_long = 448 ;
844
+ pub const SYS_futex_waitv : :: c_long = 449 ;
845
+ pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
838
846
839
847
cfg_if ! {
840
848
if #[ cfg( libc_align) ] {
Original file line number Diff line number Diff line change @@ -536,6 +536,14 @@ pub const SYS_faccessat2: ::c_long = 4000 + 439;
536
536
pub const SYS_process_madvise : :: c_long = 4000 + 440 ;
537
537
pub const SYS_epoll_pwait2 : :: c_long = 4000 + 441 ;
538
538
pub const SYS_mount_setattr : :: c_long = 4000 + 442 ;
539
+ pub const SYS_quotactl_fd : :: c_long = 4000 + 443 ;
540
+ pub const SYS_landlock_create_ruleset : :: c_long = 4000 + 444 ;
541
+ pub const SYS_landlock_add_rule : :: c_long = 4000 + 445 ;
542
+ pub const SYS_landlock_restrict_self : :: c_long = 4000 + 446 ;
543
+ pub const SYS_memfd_secret : :: c_long = 4000 + 447 ;
544
+ pub const SYS_process_mrelease : :: c_long = 4000 + 448 ;
545
+ pub const SYS_futex_waitv : :: c_long = 4000 + 449 ;
546
+ pub const SYS_set_mempolicy_home_node : :: c_long = 4000 + 450 ;
539
547
540
548
pub const O_DIRECT : :: c_int = 0x8000 ;
541
549
pub const O_DIRECTORY : :: c_int = 0x10000 ;
Original file line number Diff line number Diff line change @@ -814,3 +814,11 @@ pub const SYS_faccessat2: ::c_long = 439;
814
814
pub const SYS_process_madvise : :: c_long = 440 ;
815
815
pub const SYS_epoll_pwait2 : :: c_long = 441 ;
816
816
pub const SYS_mount_setattr : :: c_long = 442 ;
817
+ pub const SYS_quotactl_fd : :: c_long = 443 ;
818
+ pub const SYS_landlock_create_ruleset : :: c_long = 444 ;
819
+ pub const SYS_landlock_add_rule : :: c_long = 445 ;
820
+ pub const SYS_landlock_restrict_self : :: c_long = 446 ;
821
+ pub const SYS_memfd_secret : :: c_long = 447 ;
822
+ pub const SYS_process_mrelease : :: c_long = 448 ;
823
+ pub const SYS_futex_waitv : :: c_long = 449 ;
824
+ pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
Original file line number Diff line number Diff line change @@ -758,6 +758,14 @@ pub const SYS_faccessat2: ::c_long = 439;
758
758
pub const SYS_process_madvise : :: c_long = 440 ;
759
759
pub const SYS_epoll_pwait2 : :: c_long = 441 ;
760
760
pub const SYS_mount_setattr : :: c_long = 442 ;
761
+ pub const SYS_quotactl_fd : :: c_long = 443 ;
762
+ pub const SYS_landlock_create_ruleset : :: c_long = 444 ;
763
+ pub const SYS_landlock_add_rule : :: c_long = 445 ;
764
+ pub const SYS_landlock_restrict_self : :: c_long = 446 ;
765
+ pub const SYS_memfd_secret : :: c_long = 447 ;
766
+ pub const SYS_process_mrelease : :: c_long = 448 ;
767
+ pub const SYS_futex_waitv : :: c_long = 449 ;
768
+ pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
761
769
762
770
cfg_if ! {
763
771
if #[ cfg( libc_align) ] {
Original file line number Diff line number Diff line change @@ -839,6 +839,14 @@ pub const SYS_faccessat2: ::c_long = 439;
839
839
pub const SYS_process_madvise : :: c_long = 440 ;
840
840
pub const SYS_epoll_pwait2 : :: c_long = 441 ;
841
841
pub const SYS_mount_setattr : :: c_long = 442 ;
842
+ pub const SYS_quotactl_fd : :: c_long = 443 ;
843
+ pub const SYS_landlock_create_ruleset : :: c_long = 444 ;
844
+ pub const SYS_landlock_add_rule : :: c_long = 445 ;
845
+ pub const SYS_landlock_restrict_self : :: c_long = 446 ;
846
+ pub const SYS_memfd_secret : :: c_long = 447 ;
847
+ pub const SYS_process_mrelease : :: c_long = 448 ;
848
+ pub const SYS_futex_waitv : :: c_long = 449 ;
849
+ pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
842
850
843
851
cfg_if ! {
844
852
if #[ cfg( libc_align) ] {
Original file line number Diff line number Diff line change @@ -1040,6 +1040,14 @@ pub const SYS_faccessat2: ::c_long = 439;
1040
1040
pub const SYS_process_madvise : :: c_long = 440 ;
1041
1041
pub const SYS_epoll_pwait2 : :: c_long = 441 ;
1042
1042
pub const SYS_mount_setattr : :: c_long = 442 ;
1043
+ pub const SYS_quotactl_fd : :: c_long = 443 ;
1044
+ pub const SYS_landlock_create_ruleset : :: c_long = 444 ;
1045
+ pub const SYS_landlock_add_rule : :: c_long = 445 ;
1046
+ pub const SYS_landlock_restrict_self : :: c_long = 446 ;
1047
+ pub const SYS_memfd_secret : :: c_long = 447 ;
1048
+ pub const SYS_process_mrelease : :: c_long = 448 ;
1049
+ pub const SYS_futex_waitv : :: c_long = 449 ;
1050
+ pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
1043
1051
1044
1052
// offsets in user_regs_structs, from sys/reg.h
1045
1053
pub const EBX : :: c_int = 0 ;
Original file line number Diff line number Diff line change @@ -885,6 +885,14 @@ pub const SYS_faccessat2: ::c_long = 439;
885
885
pub const SYS_process_madvise : :: c_long = 440 ;
886
886
pub const SYS_epoll_pwait2 : :: c_long = 441 ;
887
887
pub const SYS_mount_setattr : :: c_long = 442 ;
888
+ pub const SYS_quotactl_fd : :: c_long = 443 ;
889
+ pub const SYS_landlock_create_ruleset : :: c_long = 444 ;
890
+ pub const SYS_landlock_add_rule : :: c_long = 445 ;
891
+ pub const SYS_landlock_restrict_self : :: c_long = 446 ;
892
+ pub const SYS_memfd_secret : :: c_long = 447 ;
893
+ pub const SYS_process_mrelease : :: c_long = 448 ;
894
+ pub const SYS_futex_waitv : :: c_long = 449 ;
895
+ pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
888
896
889
897
extern "C" {
890
898
pub fn sysctl (
Original file line number Diff line number Diff line change @@ -587,6 +587,14 @@ pub const SYS_faccessat2: ::c_long = 5000 + 439;
587
587
pub const SYS_process_madvise : :: c_long = 5000 + 440 ;
588
588
pub const SYS_epoll_pwait2 : :: c_long = 5000 + 441 ;
589
589
pub const SYS_mount_setattr : :: c_long = 5000 + 442 ;
590
+ pub const SYS_quotactl_fd : :: c_long = 5000 + 443 ;
591
+ pub const SYS_landlock_create_ruleset : :: c_long = 5000 + 444 ;
592
+ pub const SYS_landlock_add_rule : :: c_long = 5000 + 445 ;
593
+ pub const SYS_landlock_restrict_self : :: c_long = 5000 + 446 ;
594
+ pub const SYS_memfd_secret : :: c_long = 5000 + 447 ;
595
+ pub const SYS_process_mrelease : :: c_long = 5000 + 448 ;
596
+ pub const SYS_futex_waitv : :: c_long = 5000 + 449 ;
597
+ pub const SYS_set_mempolicy_home_node : :: c_long = 5000 + 450 ;
590
598
591
599
pub const SFD_CLOEXEC : :: c_int = 0x080000 ;
592
600
Original file line number Diff line number Diff line change @@ -948,6 +948,14 @@ pub const SYS_faccessat2: ::c_long = 439;
948
948
pub const SYS_process_madvise : :: c_long = 440 ;
949
949
pub const SYS_epoll_pwait2 : :: c_long = 441 ;
950
950
pub const SYS_mount_setattr : :: c_long = 442 ;
951
+ pub const SYS_quotactl_fd : :: c_long = 443 ;
952
+ pub const SYS_landlock_create_ruleset : :: c_long = 444 ;
953
+ pub const SYS_landlock_add_rule : :: c_long = 445 ;
954
+ pub const SYS_landlock_restrict_self : :: c_long = 446 ;
955
+ pub const SYS_memfd_secret : :: c_long = 447 ;
956
+ pub const SYS_process_mrelease : :: c_long = 448 ;
957
+ pub const SYS_futex_waitv : :: c_long = 449 ;
958
+ pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
951
959
952
960
extern "C" {
953
961
pub fn sysctl (
Original file line number Diff line number Diff line change @@ -797,6 +797,14 @@ pub const SYS_faccessat2: ::c_long = 439;
797
797
pub const SYS_process_madvise : :: c_long = 440 ;
798
798
pub const SYS_epoll_pwait2 : :: c_long = 441 ;
799
799
pub const SYS_mount_setattr : :: c_long = 442 ;
800
+ pub const SYS_quotactl_fd : :: c_long = 443 ;
801
+ pub const SYS_landlock_create_ruleset : :: c_long = 444 ;
802
+ pub const SYS_landlock_add_rule : :: c_long = 445 ;
803
+ pub const SYS_landlock_restrict_self : :: c_long = 446 ;
804
+ pub const SYS_memfd_secret : :: c_long = 447 ;
805
+ pub const SYS_process_mrelease : :: c_long = 448 ;
806
+ pub const SYS_futex_waitv : :: c_long = 449 ;
807
+ pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
800
808
801
809
cfg_if ! {
802
810
if #[ cfg( libc_align) ] {
Original file line number Diff line number Diff line change @@ -935,6 +935,14 @@ pub const SYS_faccessat2: ::c_long = 439;
935
935
pub const SYS_process_madvise : :: c_long = 440 ;
936
936
pub const SYS_epoll_pwait2 : :: c_long = 441 ;
937
937
pub const SYS_mount_setattr : :: c_long = 442 ;
938
+ pub const SYS_quotactl_fd : :: c_long = 443 ;
939
+ pub const SYS_landlock_create_ruleset : :: c_long = 444 ;
940
+ pub const SYS_landlock_add_rule : :: c_long = 445 ;
941
+ pub const SYS_landlock_restrict_self : :: c_long = 446 ;
942
+ pub const SYS_memfd_secret : :: c_long = 447 ;
943
+ pub const SYS_process_mrelease : :: c_long = 448 ;
944
+ pub const SYS_futex_waitv : :: c_long = 449 ;
945
+ pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
938
946
939
947
extern "C" {
940
948
Original file line number Diff line number Diff line change @@ -900,6 +900,14 @@ pub const SYS_faccessat2: ::c_long = 439;
900
900
pub const SYS_process_madvise : :: c_long = 440 ;
901
901
pub const SYS_epoll_pwait2 : :: c_long = 441 ;
902
902
pub const SYS_mount_setattr : :: c_long = 442 ;
903
+ pub const SYS_quotactl_fd : :: c_long = 443 ;
904
+ pub const SYS_landlock_create_ruleset : :: c_long = 444 ;
905
+ pub const SYS_landlock_add_rule : :: c_long = 445 ;
906
+ pub const SYS_landlock_restrict_self : :: c_long = 446 ;
907
+ pub const SYS_memfd_secret : :: c_long = 447 ;
908
+ pub const SYS_process_mrelease : :: c_long = 448 ;
909
+ pub const SYS_futex_waitv : :: c_long = 449 ;
910
+ pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
903
911
904
912
extern "C" {
905
913
pub fn sysctl (
Original file line number Diff line number Diff line change @@ -429,6 +429,14 @@ pub const SYS_faccessat2: ::c_long = 439;
429
429
pub const SYS_process_madvise : :: c_long = 440 ;
430
430
pub const SYS_epoll_pwait2 : :: c_long = 441 ;
431
431
pub const SYS_mount_setattr : :: c_long = 442 ;
432
+ pub const SYS_quotactl_fd : :: c_long = 443 ;
433
+ pub const SYS_landlock_create_ruleset : :: c_long = 444 ;
434
+ pub const SYS_landlock_add_rule : :: c_long = 445 ;
435
+ pub const SYS_landlock_restrict_self : :: c_long = 446 ;
436
+ pub const SYS_memfd_secret : :: c_long = 447 ;
437
+ pub const SYS_process_mrelease : :: c_long = 448 ;
438
+ pub const SYS_futex_waitv : :: c_long = 449 ;
439
+ pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
432
440
433
441
extern "C" {
434
442
pub fn sysctl (
Original file line number Diff line number Diff line change @@ -357,6 +357,14 @@ pub const SYS_faccessat2: ::c_long = __X32_SYSCALL_BIT + 439;
357
357
pub const SYS_process_madvise : :: c_long = __X32_SYSCALL_BIT + 440 ;
358
358
pub const SYS_epoll_pwait2 : :: c_long = __X32_SYSCALL_BIT + 441 ;
359
359
pub const SYS_mount_setattr : :: c_long = __X32_SYSCALL_BIT + 442 ;
360
+ pub const SYS_quotactl_fd : :: c_long = __X32_SYSCALL_BIT + 443 ;
361
+ pub const SYS_landlock_create_ruleset : :: c_long = __X32_SYSCALL_BIT + 444 ;
362
+ pub const SYS_landlock_add_rule : :: c_long = __X32_SYSCALL_BIT + 445 ;
363
+ pub const SYS_landlock_restrict_self : :: c_long = __X32_SYSCALL_BIT + 446 ;
364
+ pub const SYS_memfd_secret : :: c_long = __X32_SYSCALL_BIT + 447 ;
365
+ pub const SYS_process_mrelease : :: c_long = __X32_SYSCALL_BIT + 448 ;
366
+ pub const SYS_futex_waitv : :: c_long = __X32_SYSCALL_BIT + 449 ;
367
+ pub const SYS_set_mempolicy_home_node : :: c_long = __X32_SYSCALL_BIT + 450 ;
360
368
pub const SYS_rt_sigaction : :: c_long = __X32_SYSCALL_BIT + 512 ;
361
369
pub const SYS_rt_sigreturn : :: c_long = __X32_SYSCALL_BIT + 513 ;
362
370
pub const SYS_ioctl : :: c_long = __X32_SYSCALL_BIT + 514 ;
Original file line number Diff line number Diff line change @@ -837,6 +837,14 @@ pub const SYS_faccessat2: ::c_long = 439;
837
837
pub const SYS_process_madvise : :: c_long = 440 ;
838
838
pub const SYS_epoll_pwait2 : :: c_long = 441 ;
839
839
pub const SYS_mount_setattr : :: c_long = 442 ;
840
+ pub const SYS_quotactl_fd : :: c_long = 443 ;
841
+ pub const SYS_landlock_create_ruleset : :: c_long = 444 ;
842
+ pub const SYS_landlock_add_rule : :: c_long = 445 ;
843
+ pub const SYS_landlock_restrict_self : :: c_long = 446 ;
844
+ pub const SYS_memfd_secret : :: c_long = 447 ;
845
+ pub const SYS_process_mrelease : :: c_long = 448 ;
846
+ pub const SYS_futex_waitv : :: c_long = 449 ;
847
+ pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
840
848
841
849
extern "C" {
842
850
pub fn getrandom ( buf : * mut :: c_void , buflen : :: size_t , flags : :: c_uint ) -> :: ssize_t ;
Original file line number Diff line number Diff line change @@ -777,6 +777,14 @@ pub const SYS_faccessat2: ::c_long = 4000 + 439;
777
777
pub const SYS_process_madvise : :: c_long = 4000 + 440 ;
778
778
pub const SYS_epoll_pwait2 : :: c_long = 4000 + 441 ;
779
779
pub const SYS_mount_setattr : :: c_long = 4000 + 442 ;
780
+ pub const SYS_quotactl_fd : :: c_long = 4000 + 443 ;
781
+ pub const SYS_landlock_create_ruleset : :: c_long = 4000 + 444 ;
782
+ pub const SYS_landlock_add_rule : :: c_long = 4000 + 445 ;
783
+ pub const SYS_landlock_restrict_self : :: c_long = 4000 + 446 ;
784
+ pub const SYS_memfd_secret : :: c_long = 4000 + 447 ;
785
+ pub const SYS_process_mrelease : :: c_long = 4000 + 448 ;
786
+ pub const SYS_futex_waitv : :: c_long = 4000 + 449 ;
787
+ pub const SYS_set_mempolicy_home_node : :: c_long = 4000 + 450 ;
780
788
781
789
cfg_if ! {
782
790
if #[ cfg( libc_align) ] {
Original file line number Diff line number Diff line change @@ -790,6 +790,14 @@ pub const SYS_faccessat2: ::c_long = 439;
790
790
pub const SYS_process_madvise : :: c_long = 440 ;
791
791
pub const SYS_epoll_pwait2 : :: c_long = 441 ;
792
792
pub const SYS_mount_setattr : :: c_long = 442 ;
793
+ pub const SYS_quotactl_fd : :: c_long = 443 ;
794
+ pub const SYS_landlock_create_ruleset : :: c_long = 444 ;
795
+ pub const SYS_landlock_add_rule : :: c_long = 445 ;
796
+ pub const SYS_landlock_restrict_self : :: c_long = 446 ;
797
+ pub const SYS_memfd_secret : :: c_long = 447 ;
798
+ pub const SYS_process_mrelease : :: c_long = 448 ;
799
+ pub const SYS_futex_waitv : :: c_long = 449 ;
800
+ pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
793
801
794
802
extern "C" {
795
803
pub fn getrandom ( buf : * mut :: c_void , buflen : :: size_t , flags : :: c_uint ) -> :: ssize_t ;
Original file line number Diff line number Diff line change @@ -856,6 +856,14 @@ pub const SYS_faccessat2: ::c_long = 439;
856
856
pub const SYS_process_madvise : :: c_long = 440 ;
857
857
pub const SYS_epoll_pwait2 : :: c_long = 441 ;
858
858
pub const SYS_mount_setattr : :: c_long = 442 ;
859
+ pub const SYS_quotactl_fd : :: c_long = 443 ;
860
+ pub const SYS_landlock_create_ruleset : :: c_long = 444 ;
861
+ pub const SYS_landlock_add_rule : :: c_long = 445 ;
862
+ pub const SYS_landlock_restrict_self : :: c_long = 446 ;
863
+ pub const SYS_memfd_secret : :: c_long = 447 ;
864
+ pub const SYS_process_mrelease : :: c_long = 448 ;
865
+ pub const SYS_futex_waitv : :: c_long = 449 ;
866
+ pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
859
867
860
868
// offsets in user_regs_structs, from sys/reg.h
861
869
pub const EBX : :: c_int = 0 ;
Original file line number Diff line number Diff line change @@ -555,6 +555,14 @@ pub const SYS_faccessat2: ::c_long = 439;
555
555
pub const SYS_process_madvise : :: c_long = 440 ;
556
556
pub const SYS_epoll_pwait2 : :: c_long = 441 ;
557
557
pub const SYS_mount_setattr : :: c_long = 442 ;
558
+ pub const SYS_quotactl_fd : :: c_long = 443 ;
559
+ pub const SYS_landlock_create_ruleset : :: c_long = 444 ;
560
+ pub const SYS_landlock_add_rule : :: c_long = 445 ;
561
+ pub const SYS_landlock_restrict_self : :: c_long = 446 ;
562
+ pub const SYS_memfd_secret : :: c_long = 447 ;
563
+ pub const SYS_process_mrelease : :: c_long = 448 ;
564
+ pub const SYS_futex_waitv : :: c_long = 449 ;
565
+ pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
558
566
559
567
pub const MCL_CURRENT : :: c_int = 0x0001 ;
560
568
pub const MCL_FUTURE : :: c_int = 0x0002 ;
Original file line number Diff line number Diff line change @@ -444,6 +444,14 @@ pub const SYS_faccessat2: ::c_long = 5000 + 439;
444
444
pub const SYS_process_madvise : :: c_long = 5000 + 440 ;
445
445
pub const SYS_epoll_pwait2 : :: c_long = 5000 + 441 ;
446
446
pub const SYS_mount_setattr : :: c_long = 5000 + 442 ;
447
+ pub const SYS_quotactl_fd : :: c_long = 5000 + 443 ;
448
+ pub const SYS_landlock_create_ruleset : :: c_long = 5000 + 444 ;
449
+ pub const SYS_landlock_add_rule : :: c_long = 5000 + 445 ;
450
+ pub const SYS_landlock_restrict_self : :: c_long = 5000 + 446 ;
451
+ pub const SYS_memfd_secret : :: c_long = 5000 + 447 ;
452
+ pub const SYS_process_mrelease : :: c_long = 5000 + 448 ;
453
+ pub const SYS_futex_waitv : :: c_long = 5000 + 449 ;
454
+ pub const SYS_set_mempolicy_home_node : :: c_long = 5000 + 450 ;
447
455
448
456
pub const O_DIRECT : :: c_int = 0x8000 ;
449
457
pub const O_DIRECTORY : :: c_int = 0x10000 ;
Original file line number Diff line number Diff line change @@ -600,6 +600,14 @@ pub const SYS_faccessat2: ::c_long = 439;
600
600
pub const SYS_process_madvise : :: c_long = 440 ;
601
601
pub const SYS_epoll_pwait2 : :: c_long = 441 ;
602
602
pub const SYS_mount_setattr : :: c_long = 442 ;
603
+ pub const SYS_quotactl_fd : :: c_long = 443 ;
604
+ pub const SYS_landlock_create_ruleset : :: c_long = 444 ;
605
+ pub const SYS_landlock_add_rule : :: c_long = 445 ;
606
+ pub const SYS_landlock_restrict_self : :: c_long = 446 ;
607
+ pub const SYS_memfd_secret : :: c_long = 447 ;
608
+ pub const SYS_process_mrelease : :: c_long = 448 ;
609
+ pub const SYS_futex_waitv : :: c_long = 449 ;
610
+ pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
603
611
604
612
pub const EDEADLK : :: c_int = 58 ;
605
613
pub const EDEADLOCK : :: c_int = EDEADLK ;
Original file line number Diff line number Diff line change @@ -710,3 +710,11 @@ pub const SYS_faccessat2: ::c_long = 439;
710
710
pub const SYS_process_madvise : :: c_long = 440 ;
711
711
pub const SYS_epoll_pwait2 : :: c_long = 441 ;
712
712
pub const SYS_mount_setattr : :: c_long = 442 ;
713
+ pub const SYS_quotactl_fd : :: c_long = 443 ;
714
+ pub const SYS_landlock_create_ruleset : :: c_long = 444 ;
715
+ pub const SYS_landlock_add_rule : :: c_long = 445 ;
716
+ pub const SYS_landlock_restrict_self : :: c_long = 446 ;
717
+ pub const SYS_memfd_secret : :: c_long = 447 ;
718
+ pub const SYS_process_mrelease : :: c_long = 448 ;
719
+ pub const SYS_futex_waitv : :: c_long = 449 ;
720
+ pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
Original file line number Diff line number Diff line change @@ -599,6 +599,14 @@ pub const SYS_faccessat2: ::c_long = 439;
599
599
pub const SYS_process_madvise : :: c_long = 440 ;
600
600
pub const SYS_epoll_pwait2 : :: c_long = 441 ;
601
601
pub const SYS_mount_setattr : :: c_long = 442 ;
602
+ pub const SYS_quotactl_fd : :: c_long = 443 ;
603
+ pub const SYS_landlock_create_ruleset : :: c_long = 444 ;
604
+ pub const SYS_landlock_add_rule : :: c_long = 445 ;
605
+ pub const SYS_landlock_restrict_self : :: c_long = 446 ;
606
+ pub const SYS_memfd_secret : :: c_long = 447 ;
607
+ pub const SYS_process_mrelease : :: c_long = 448 ;
608
+ pub const SYS_futex_waitv : :: c_long = 449 ;
609
+ pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
602
610
603
611
// offsets in user_regs_structs, from sys/reg.h
604
612
pub const R15 : :: c_int = 0 ;
You can’t perform that action at this time.
0 commit comments