zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

mman.h (541B) - Raw


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