Home
last modified time | relevance | path

Searched refs:PROT_MTE (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/tools/testing/selftests/arm64/mte/
Dmte_def.h14 #ifndef PROT_MTE
15 #define PROT_MTE 0x20 macro
Dmte_common_util.c137 prot_flag |= PROT_MTE; in __mte_allocate_memory_range()
150 if (mprotect(ptr, entire_size, prot_flag | PROT_MTE)) { in __mte_allocate_memory_range()
/Linux-v5.10/arch/arm64/include/asm/
Dmman.h17 if (system_supports_mte() && (prot & PROT_MTE)) in arch_calc_vm_prot_bits()
71 supported |= PROT_MTE; in arch_validate_prot()
/Linux-v5.10/Documentation/arm64/
Dmemory-tagging-extension.rst33 PROT_MTE section in Userspace Support
40 ``PROT_MTE`` - Pages allow access to the MTE allocation tags.
46 **Note**: ``PROT_MTE`` is only supported on ``MAP_ANONYMOUS`` and
51 **Note**: The ``PROT_MTE`` flag (and corresponding memory type) cannot
61 When ``PROT_MTE`` is enabled on an address range and a mismatch between
132 - ``PROT_MTE`` not set on any of the initial memory maps
172 mapped with the ``PROT_MTE`` flag). ``iov_len`` not updated.
211 #define PROT_MTE 0x20
275 if (mprotect(a, page_sz, PROT_READ | PROT_WRITE | PROT_MTE)) {
/Linux-v5.10/arch/arm64/include/uapi/asm/
Dmman.h8 #define PROT_MTE 0x20 /* Normal Tagged mapping */ macro