.. | .. |
---|
21 | 21 | #define MAP_DENYWRITE 0x0800 /* ETXTBSY */ |
---|
22 | 22 | #define MAP_EXECUTABLE 0x1000 /* mark it as an executable */ |
---|
23 | 23 | |
---|
| 24 | + |
---|
24 | 25 | #define MCL_CURRENT 0x2000 /* lock all currently mapped pages */ |
---|
25 | 26 | #define MCL_FUTURE 0x4000 /* lock all additions to address space */ |
---|
26 | 27 | #define MCL_ONFAULT 0x8000 /* lock all pages that are faulted in */ |
---|
27 | | - |
---|
28 | | -#define MAP_POPULATE 0x8000 /* populate (prefault) pagetables */ |
---|
29 | | -#define MAP_NONBLOCK 0x10000 /* do not block on IO */ |
---|
30 | | -#define MAP_STACK 0x20000 /* give out an address that is best suited for process/thread stacks */ |
---|
31 | | -#define MAP_HUGETLB 0x40000 /* create a huge page mapping */ |
---|
32 | 28 | |
---|
33 | 29 | /* Override any generic PKEY permission defines */ |
---|
34 | 30 | #define PKEY_DISABLE_EXECUTE 0x4 |
---|