| 1 |
|
| 2 | #ifndef __ASM_GENERIC_MMAN_H
|
| 3 | #define __ASM_GENERIC_MMAN_H
|
| 4 |
|
| 5 | #include <asm-generic/mman-common-tools.h>
|
| 6 |
|
| 7 | #define MAP_GROWSDOWN 0x0100
|
| 8 | #define MAP_DENYWRITE 0x0800
|
| 9 | #define MAP_EXECUTABLE 0x1000
|
| 10 | #define MAP_LOCKED 0x2000
|
| 11 | #define MAP_NORESERVE 0x4000
|
| 12 |
|
| 13 | |
| 14 | * Bits [26:31] are reserved, see asm-generic/hugetlb_encode.h
|
| 15 | * for MAP_HUGETLB usage
|
| 16 |
|
| 17 |
|
| 18 | #define MCL_CURRENT 1
|
| 19 | #define MCL_FUTURE 2
|
| 20 | #define MCL_ONFAULT 4
|
| 21 |
|
| 22 | #define SHADOW_STACK_SET_TOKEN (1ULL << 0)
|
| 23 | #define SHADOW_STACK_SET_MARKER (1ULL << 1)
|
| 24 |
|
| 25 |
|
| 26 | #endif
|