File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ HWCAP2_SVEBITPERM
77HWCAP2_SVEPMULL
88HWCAP2_SVESHA3
99HWCAP2_SVESM4
10+ PROT_BTI
11+ PROT_MTE
1012SYS_arch_specific_syscall
1113SYS_syscalls
1214SYS_fcntl
Original file line number Diff line number Diff line change @@ -412,6 +412,9 @@ pub const SYS_fsmount: ::c_long = 432;
412412pub const SYS_fspick : :: c_long = 433 ;
413413pub const SYS_syscalls : :: c_long = 436 ;
414414
415+ pub const PROT_BTI : :: c_int = 0x10 ;
416+ pub const PROT_MTE : :: c_int = 0x20 ;
417+
415418cfg_if ! {
416419 if #[ cfg( libc_align) ] {
417420 mod align;
Original file line number Diff line number Diff line change @@ -902,6 +902,9 @@ pub const SYS_process_mrelease: ::c_long = 448;
902902pub const SYS_futex_waitv : :: c_long = 449 ;
903903pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
904904
905+ pub const PROT_BTI : :: c_int = 0x10 ;
906+ pub const PROT_MTE : :: c_int = 0x20 ;
907+
905908extern "C" {
906909 pub fn sysctl (
907910 name : * mut :: c_int ,
You can’t perform that action at this time.
0 commit comments