12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- #ifndef _SYS_MMAN_H
- # error "Never use <bits/mman.h> directly; include <sys/mman.h> instead."
- #endif
- #ifdef __USE_MISC
- # define MAP_NORESERVE 0x0400
- # define MAP_GROWSDOWN 0x1000
- # define MAP_DENYWRITE 0x2000
- # define MAP_EXECUTABLE 0x4000
- # define MAP_LOCKED 0x8000
- # define MAP_POPULATE 0x10000
- # define MAP_NONBLOCK 0x20000
- # define MAP_STACK 0x40000
- # define MAP_HUGETLB 0x80000
- # define MAP_UNINITIALIZED 0x4000000
- #endif
- #define __MAP_ANONYMOUS 0x0800
- #include <bits/mman-linux.h>
- #ifdef __USE_MISC
- # define MAP_RENAME MAP_ANONYMOUS
- #endif
|