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 @@ -4146,6 +4146,9 @@ fn test_linux(target: &str) {
41464146 // FIXME: Requires >= 6.6 kernel headers.
41474147 "SYS_fchmodat2" => true ,
41484148
4149+ // FIXME: Requires >= 6.10 kernel headers.
4150+ "SYS_mseal" => true ,
4151+
41494152 // FIXME: seems to not be available all the time (from <include/linux/sched.h>:
41504153 "PF_VCPU"
41514154 | "PF_IDLE"
Original file line number Diff line number Diff line change @@ -134,6 +134,7 @@ SYS_mknod
134134SYS_mmap2
135135SYS_modify_ldt
136136SYS_mpx
137+ SYS_mseal
137138SYS_nice
138139SYS_oldfstat
139140SYS_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 @@ -109,6 +109,7 @@ SYS_lstat
109109SYS_mkdir
110110SYS_mknod
111111SYS_modify_ldt
112+ SYS_mseal
112113SYS_open
113114SYS_pause
114115SYS_pipe
Original file line number Diff line number Diff line change @@ -856,6 +856,7 @@ pub const SYS_memfd_secret: ::c_long = 447;
856856pub const SYS_process_mrelease : :: c_long = 448 ;
857857pub const SYS_futex_waitv : :: c_long = 449 ;
858858pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
859+ pub const SYS_mseal : :: c_long = 462 ;
859860
860861mod align;
861862pub use self :: align:: * ;
Original file line number Diff line number Diff line change @@ -824,3 +824,4 @@ pub const SYS_memfd_secret: ::c_long = 447;
824824pub const SYS_process_mrelease : :: c_long = 448 ;
825825pub const SYS_futex_waitv : :: c_long = 449 ;
826826pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
827+ pub const SYS_mseal : :: c_long = 462 ;
Original file line number Diff line number Diff line change @@ -1046,6 +1046,7 @@ pub const SYS_process_mrelease: ::c_long = 448;
10461046pub const SYS_futex_waitv : :: c_long = 449 ;
10471047pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
10481048pub const SYS_fchmodat2 : :: c_long = 452 ;
1049+ pub const SYS_mseal : :: c_long = 462 ;
10491050
10501051// offsets in user_regs_structs, from sys/reg.h
10511052pub 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 @@ -941,6 +941,7 @@ pub const SYS_memfd_secret: ::c_long = 447;
941941pub const SYS_process_mrelease : :: c_long = 448 ;
942942pub const SYS_futex_waitv : :: c_long = 449 ;
943943pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
944+ pub const SYS_mseal : :: c_long = 462 ;
944945
945946extern "C" {
946947
You can’t perform that action at this time.
0 commit comments