mman.h 552 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. #ifndef _UAPI__ASM_MMAN_H
  3. #define _UAPI__ASM_MMAN_H
  4. #include <asm-generic/mman.h>
  5. #define PROT_BTI 0x10 /* BTI guarded page */
  6. #define PROT_MTE 0x20 /* Normal Tagged mapping */
  7. /* Override any generic PKEY permission defines */
  8. #define PKEY_DISABLE_EXECUTE 0x4
  9. #define PKEY_DISABLE_READ 0x8
  10. #undef PKEY_ACCESS_MASK
  11. #define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\
  12. PKEY_DISABLE_WRITE |\
  13. PKEY_DISABLE_READ |\
  14. PKEY_DISABLE_EXECUTE)
  15. #endif /* ! _UAPI__ASM_MMAN_H */