Since version 5.10 Linux defines a couple of AArch64-specific access flags - PROT_BTI for pages guarded by the Branch Target Identification technology and PROT_MTE for pages to which the Memory Tagging Extension applies. Currently (as of commit 5087445) there is no way to use these attributes with the Protection struct even via the Protection::from_bits_unchecked() method because the implementation ignores any unknown values right before the call to mprotect(), for example.
Since version 5.10 Linux defines a couple of AArch64-specific access flags -
PROT_BTIfor pages guarded by the Branch Target Identification technology andPROT_MTEfor pages to which the Memory Tagging Extension applies. Currently (as of commit 5087445) there is no way to use these attributes with theProtectionstruct even via theProtection::from_bits_unchecked()method because the implementation ignores any unknown values right before the call tomprotect(), for example.