12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- #ifndef _SYS_MMAN_H
- # error "Never use <bits/mman.h> directly; include <sys/mman.h> instead."
- #endif
- #ifdef __USE_MISC
- # define MAP_GROWSDOWN 0x0200
- # define MAP_DENYWRITE 0x0800
- # define MAP_EXECUTABLE 0x1000
- # define MAP_LOCKED 0x0100
- # define MAP_NORESERVE 0x0040
- # define _MAP_NEW 0x80000000
- # define MAP_POPULATE 0x8000
- # define MAP_NONBLOCK 0x10000
- # define MAP_STACK 0x20000
- # define MAP_HUGETLB 0x40000
- #endif
- #define MCL_CURRENT 0x2000
- #define MCL_FUTURE 0x4000
- #define MCL_ONFAULT 0x8000
- #include <bits/mman-linux.h>
- #ifdef __USE_MISC
- # define MAP_RENAME MAP_ANONYMOUS
- #endif
|