File tree Expand file tree Collapse file tree 16 files changed +18
-0
lines changed
src/unix/linux_like/linux Expand file tree Collapse file tree 16 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -4213,6 +4213,9 @@ fn test_linux(target: &str) {
42134213 // FIXME: Requires >= 6.6 kernel headers.
42144214 "SYS_fchmodat2" => true ,
42154215
4216+ // FIXME: Requires >= 6.10 kernel headers.
4217+ "SYS_mseal" => true ,
4218+
42164219 // FIXME: seems to not be available all the time (from <include/linux/sched.h>:
42174220 "PF_VCPU"
42184221 | "PF_IDLE"
Original file line number Diff line number Diff line change @@ -132,6 +132,7 @@ SYS_mknod
132132SYS_mmap2
133133SYS_modify_ldt
134134SYS_mpx
135+ SYS_mseal
135136SYS_nice
136137SYS_oldfstat
137138SYS_oldlstat
Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ SYS_mknod
8282SYS_mmap2
8383SYS_modify_ldt
8484SYS_mpx
85+ SYS_mseal
8586SYS_multiplexer
8687SYS_nice
8788SYS_oldfstat
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ SYS_link
5959SYS_lstat
6060SYS_mkdir
6161SYS_mknod
62+ SYS_mseal
6263SYS_newfstatat
6364SYS_nice
6465SYS_open
Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ SYS_lstat
107107SYS_mkdir
108108SYS_mknod
109109SYS_modify_ldt
110+ SYS_mseal
110111SYS_open
111112SYS_pause
112113SYS_pipe
Original file line number Diff line number Diff line change @@ -855,6 +855,7 @@ pub const SYS_memfd_secret: ::c_long = 447;
855855pub const SYS_process_mrelease : :: c_long = 448 ;
856856pub const SYS_futex_waitv : :: c_long = 449 ;
857857pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
858+ pub const SYS_mseal : :: c_long = 462 ;
858859
859860cfg_if ! {
860861 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;
823823pub const SYS_process_mrelease : :: c_long = 448 ;
824824pub const SYS_futex_waitv : :: c_long = 449 ;
825825pub 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 @@ -1045,6 +1045,7 @@ pub const SYS_process_mrelease: ::c_long = 448;
10451045pub const SYS_futex_waitv : :: c_long = 449 ;
10461046pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
10471047pub const SYS_fchmodat2 : :: c_long = 452 ;
1048+ pub const SYS_mseal : :: c_long = 462 ;
10481049
10491050// offsets in user_regs_structs, from sys/reg.h
10501051pub 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;
892892pub const SYS_process_mrelease : :: c_long = 448 ;
893893pub const SYS_futex_waitv : :: c_long = 449 ;
894894pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
895+ pub const SYS_mseal : :: c_long = 462 ;
895896
896897pub const PROT_BTI : :: c_int = 0x10 ;
897898pub 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;
946946pub const SYS_process_mrelease : :: c_long = 448 ;
947947pub const SYS_futex_waitv : :: c_long = 449 ;
948948pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
949+ pub const SYS_mseal : :: c_long = 462 ;
949950
950951extern "C" {
951952
You can’t perform that action at this time.
0 commit comments