File tree Expand file tree Collapse file tree 20 files changed +30
-0
lines changed Expand file tree Collapse file tree 20 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -4210,6 +4210,12 @@ fn test_linux(target: &str) {
4210
4210
true
4211
4211
}
4212
4212
4213
+ // FIXME: Requires >= 6.6 kernel headers.
4214
+ "SYS_fchmodat2" => true ,
4215
+
4216
+ // FIXME: Requires >= 6.10 kernel headers.
4217
+ "SYS_mseal" => true ,
4218
+
4213
4219
// FIXME: seems to not be available all the time (from <include/linux/sched.h>:
4214
4220
"PF_VCPU"
4215
4221
| "PF_IDLE"
Original file line number Diff line number Diff line change @@ -1004,6 +1004,8 @@ NOTE_FORK
1004
1004
NOTE_LEEWAY
1005
1005
NOTE_LINK
1006
1006
NOTE_LOWAT
1007
+ NOTE_MACHTIME
1008
+ NOTE_MACH_CONTINUOUS_TIME
1007
1009
NOTE_NONE
1008
1010
NOTE_NSECONDS
1009
1011
NOTE_PCTRLMASK
Original file line number Diff line number Diff line change @@ -132,6 +132,7 @@ SYS_mknod
132
132
SYS_mmap2
133
133
SYS_modify_ldt
134
134
SYS_mpx
135
+ SYS_mseal
135
136
SYS_nice
136
137
SYS_oldfstat
137
138
SYS_oldlstat
Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ SYS_mknod
82
82
SYS_mmap2
83
83
SYS_modify_ldt
84
84
SYS_mpx
85
+ SYS_mseal
85
86
SYS_multiplexer
86
87
SYS_nice
87
88
SYS_oldfstat
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ SYS_link
59
59
SYS_lstat
60
60
SYS_mkdir
61
61
SYS_mknod
62
+ SYS_mseal
62
63
SYS_newfstatat
63
64
SYS_nice
64
65
SYS_open
Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ SYS_lstat
107
107
SYS_mkdir
108
108
SYS_mknod
109
109
SYS_modify_ldt
110
+ SYS_mseal
110
111
SYS_open
111
112
SYS_pause
112
113
SYS_pipe
Original file line number Diff line number Diff line change @@ -4522,6 +4522,8 @@ pub const NOTE_ABSOLUTE: u32 = 0x00000008;
4522
4522
pub const NOTE_LEEWAY : u32 = 0x00000010 ;
4523
4523
pub const NOTE_CRITICAL : u32 = 0x00000020 ;
4524
4524
pub const NOTE_BACKGROUND : u32 = 0x00000040 ;
4525
+ pub const NOTE_MACH_CONTINUOUS_TIME : u32 = 0x00000080 ;
4526
+ pub const NOTE_MACHTIME : u32 = 0x00000100 ;
4525
4527
pub const NOTE_TRACK : u32 = 0x00000001 ;
4526
4528
pub const NOTE_TRACKERR : u32 = 0x00000002 ;
4527
4529
pub const NOTE_CHILD : u32 = 0x00000004 ;
Original file line number Diff line number Diff line change @@ -855,6 +855,7 @@ pub const SYS_memfd_secret: ::c_long = 447;
855
855
pub const SYS_process_mrelease : :: c_long = 448 ;
856
856
pub const SYS_futex_waitv : :: c_long = 449 ;
857
857
pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
858
+ pub const SYS_mseal : :: c_long = 462 ;
858
859
859
860
cfg_if ! {
860
861
if #[ cfg( libc_align) ] {
Original file line number Diff line number Diff line change @@ -823,3 +823,4 @@ pub const SYS_memfd_secret: ::c_long = 447;
823
823
pub const SYS_process_mrelease : :: c_long = 448 ;
824
824
pub const SYS_futex_waitv : :: c_long = 449 ;
825
825
pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
826
+ pub const SYS_mseal : :: c_long = 462 ;
Original file line number Diff line number Diff line change @@ -1044,6 +1044,8 @@ pub const SYS_memfd_secret: ::c_long = 447;
1044
1044
pub const SYS_process_mrelease : :: c_long = 448 ;
1045
1045
pub const SYS_futex_waitv : :: c_long = 449 ;
1046
1046
pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
1047
+ pub const SYS_fchmodat2 : :: c_long = 452 ;
1048
+ pub const SYS_mseal : :: c_long = 462 ;
1047
1049
1048
1050
// offsets in user_regs_structs, from sys/reg.h
1049
1051
pub const EBX : :: c_int = 0 ;
Original file line number Diff line number Diff line change @@ -892,6 +892,7 @@ pub const SYS_memfd_secret: ::c_long = 447;
892
892
pub const SYS_process_mrelease : :: c_long = 448 ;
893
893
pub const SYS_futex_waitv : :: c_long = 449 ;
894
894
pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
895
+ pub const SYS_mseal : :: c_long = 462 ;
895
896
896
897
pub const PROT_BTI : :: c_int = 0x10 ;
897
898
pub const PROT_MTE : :: c_int = 0x20 ;
Original file line number Diff line number Diff line change @@ -946,6 +946,7 @@ pub const SYS_memfd_secret: ::c_long = 447;
946
946
pub const SYS_process_mrelease : :: c_long = 448 ;
947
947
pub const SYS_futex_waitv : :: c_long = 449 ;
948
948
pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
949
+ pub const SYS_mseal : :: c_long = 462 ;
949
950
950
951
extern "C" {
951
952
Original file line number Diff line number Diff line change @@ -438,6 +438,8 @@ pub const SYS_memfd_secret: ::c_long = 447;
438
438
pub const SYS_process_mrelease : :: c_long = 448 ;
439
439
pub const SYS_futex_waitv : :: c_long = 449 ;
440
440
pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
441
+ pub const SYS_fchmodat2 : :: c_long = 452 ;
442
+ pub const SYS_mseal : :: c_long = 462 ;
441
443
442
444
extern "C" {
443
445
pub fn sysctl (
Original file line number Diff line number Diff line change @@ -366,6 +366,7 @@ pub const SYS_memfd_secret: ::c_long = __X32_SYSCALL_BIT + 447;
366
366
pub const SYS_process_mrelease : :: c_long = __X32_SYSCALL_BIT + 448 ;
367
367
pub const SYS_futex_waitv : :: c_long = __X32_SYSCALL_BIT + 449 ;
368
368
pub const SYS_set_mempolicy_home_node : :: c_long = __X32_SYSCALL_BIT + 450 ;
369
+ pub const SYS_fchmodat2 : :: c_long = __X32_SYSCALL_BIT + 452 ;
369
370
pub const SYS_rt_sigaction : :: c_long = __X32_SYSCALL_BIT + 512 ;
370
371
pub const SYS_rt_sigreturn : :: c_long = __X32_SYSCALL_BIT + 513 ;
371
372
pub const SYS_ioctl : :: c_long = __X32_SYSCALL_BIT + 514 ;
Original file line number Diff line number Diff line change @@ -840,6 +840,7 @@ pub const SYS_memfd_secret: ::c_long = 447;
840
840
pub const SYS_process_mrelease : :: c_long = 448 ;
841
841
pub const SYS_futex_waitv : :: c_long = 449 ;
842
842
pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
843
+ pub const SYS_mseal : :: c_long = 462 ;
843
844
844
845
extern "C" {
845
846
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 @@ -796,6 +796,7 @@ pub const SYS_memfd_secret: ::c_long = 447;
796
796
pub const SYS_process_mrelease : :: c_long = 448 ;
797
797
pub const SYS_futex_waitv : :: c_long = 449 ;
798
798
pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
799
+ pub const SYS_mseal : :: c_long = 462 ;
799
800
800
801
extern "C" {
801
802
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 @@ -936,6 +936,7 @@ pub const SYS_memfd_secret: ::c_long = 447;
936
936
pub const SYS_process_mrelease : :: c_long = 448 ;
937
937
pub const SYS_futex_waitv : :: c_long = 449 ;
938
938
pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
939
+ pub const SYS_fchmodat2 : :: c_long = 452 ;
939
940
940
941
// offsets in user_regs_structs, from sys/reg.h
941
942
pub const EBX : :: c_int = 0 ;
Original file line number Diff line number Diff line change @@ -561,6 +561,7 @@ pub const SYS_memfd_secret: ::c_long = 447;
561
561
pub const SYS_process_mrelease : :: c_long = 448 ;
562
562
pub const SYS_futex_waitv : :: c_long = 449 ;
563
563
pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
564
+ pub const SYS_mseal : :: c_long = 462 ;
564
565
565
566
pub const MCL_CURRENT : :: c_int = 0x0001 ;
566
567
pub const MCL_FUTURE : :: c_int = 0x0002 ;
Original file line number Diff line number Diff line change @@ -722,3 +722,4 @@ pub const SYS_memfd_secret: ::c_long = 447;
722
722
pub const SYS_process_mrelease : :: c_long = 448 ;
723
723
pub const SYS_futex_waitv : :: c_long = 449 ;
724
724
pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
725
+ pub const SYS_mseal : :: c_long = 462 ;
Original file line number Diff line number Diff line change @@ -608,6 +608,8 @@ pub const SYS_memfd_secret: ::c_long = 447;
608
608
pub const SYS_process_mrelease : :: c_long = 448 ;
609
609
pub const SYS_futex_waitv : :: c_long = 449 ;
610
610
pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
611
+ pub const SYS_fchmodat2 : :: c_long = 452 ;
612
+ pub const SYS_mseal : :: c_long = 462 ;
611
613
612
614
// offsets in user_regs_structs, from sys/reg.h
613
615
pub const R15 : :: c_int = 0 ;
You can’t perform that action at this time.
0 commit comments