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) {
4213
4213
// FIXME: Requires >= 6.6 kernel headers.
4214
4214
"SYS_fchmodat2" => true ,
4215
4215
4216
+ // FIXME: Requires >= 6.10 kernel headers.
4217
+ "SYS_mseal" => true ,
4218
+
4216
4219
// FIXME: seems to not be available all the time (from <include/linux/sched.h>:
4217
4220
"PF_VCPU"
4218
4221
| "PF_IDLE"
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 @@ -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 @@ -1045,6 +1045,7 @@ 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
1047
pub const SYS_fchmodat2 : :: c_long = 452 ;
1048
+ pub const SYS_mseal : :: c_long = 462 ;
1048
1049
1049
1050
// offsets in user_regs_structs, from sys/reg.h
1050
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
You can’t perform that action at this time.
0 commit comments