You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
I've pushed a commit that aligns the protection constants to their UNIX counterparts (this was always the intention, but they had been accidentally unaligned) & maps Protection::to_native directly to an integer (commit: 03fd93c).
Since version 5.10 Linux defines a couple of AArch64-specific access flags -
PROT_BTI
for pages guarded by the Branch Target Identification technology andPROT_MTE
for pages to which the Memory Tagging Extension applies. Currently (as of commit 5087445) there is no way to use these attributes with theProtection
struct even via theProtection::from_bits_unchecked()
method because the implementation ignores any unknown values right before the call tomprotect()
, for example.The text was updated successfully, but these errors were encountered: