Skip to content

Commit ce3d1a2

Browse files
committed
Auto merge of #2833 - devnexen:linux_prctl_update, r=JohnTitor
linux/glibc tagged ptr supports for arm64 control addition.
2 parents cdfc35c + a7df4de commit ce3d1a2

File tree

1 file changed

+6
-0
lines changed
  • src/unix/linux_like/linux/gnu/b64/aarch64

1 file changed

+6
-0
lines changed

src/unix/linux_like/linux/gnu/b64/aarch64/mod.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,12 @@ pub const HWCAP_PACG: ::c_ulong = 1 << 31;
573573
//pub const HWCAP2_SVESM4: ::c_ulong = 1 << 6;
574574
//pub const HWCAP2_FLAGM2: ::c_ulong = 1 << 7;
575575
//pub const HWCAP2_FRINT: ::c_ulong = 1 << 8;
576+
//pub const HWCAP2_MTE: ::c_ulong = 1 << 18;
577+
578+
// linux/prctl.h
579+
pub const PR_SET_TAGGED_ADDR_CTRL: ::c_int = 55;
580+
pub const PR_GET_TAGGED_ADDR_CTRL: ::c_int = 56;
581+
pub const PR_TAGGED_ADDR_ENABLE: ::c_ulong = 1;
576582

577583
// Syscall table
578584
pub const SYS_io_setup: ::c_long = 0;

0 commit comments

Comments
 (0)