File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
src/unix/linux_like/linux/gnu/b64/aarch64 Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -576,10 +576,20 @@ pub const HWCAP_PACG: ::c_ulong = 1 << 31;
576
576
//pub const HWCAP2_MTE: ::c_ulong = 1 << 18;
577
577
578
578
// linux/prctl.h
579
+ pub const PR_PAC_RESET_KEYS : :: c_int = 54 ;
579
580
pub const PR_SET_TAGGED_ADDR_CTRL : :: c_int = 55 ;
580
581
pub const PR_GET_TAGGED_ADDR_CTRL : :: c_int = 56 ;
582
+ pub const PR_PAC_SET_ENABLED_KEYS : :: c_int = 60 ;
583
+ pub const PR_PAC_GET_ENABLED_KEYS : :: c_int = 61 ;
584
+
581
585
pub const PR_TAGGED_ADDR_ENABLE : :: c_ulong = 1 ;
582
586
587
+ pub const PR_PAC_APIAKEY : :: c_ulong = 1 << 0 ;
588
+ pub const PR_PAC_APIBKEY : :: c_ulong = 1 << 1 ;
589
+ pub const PR_PAC_APDAKEY : :: c_ulong = 1 << 2 ;
590
+ pub const PR_PAC_APDBKEY : :: c_ulong = 1 << 3 ;
591
+ pub const PR_PAC_APGAKEY : :: c_ulong = 1 << 4 ;
592
+
583
593
// Syscall table
584
594
pub const SYS_io_setup : :: c_long = 0 ;
585
595
pub const SYS_io_destroy : :: c_long = 1 ;
You can’t perform that action at this time.
0 commit comments