mman.h 580 B

123456789101112131415161718192021222324
  1. #undef MAP_ANON
  2. #define MAP_ANON 0x800
  3. #undef MAP_NORESERVE
  4. #define MAP_NORESERVE 0x0400
  5. #undef MAP_GROWSDOWN
  6. #define MAP_GROWSDOWN 0x1000
  7. #undef MAP_DENYWRITE
  8. #define MAP_DENYWRITE 0x2000
  9. #undef MAP_EXECUTABLE
  10. #define MAP_EXECUTABLE 0x4000
  11. #undef MAP_LOCKED
  12. #define MAP_LOCKED 0x8000
  13. #undef MAP_POPULATE
  14. #define MAP_POPULATE 0x10000
  15. #undef MAP_NONBLOCK
  16. #define MAP_NONBLOCK 0x20000
  17. #undef MAP_STACK
  18. #define MAP_STACK 0x40000
  19. #undef MAP_HUGETLB
  20. #define MAP_HUGETLB 0x80000
  21. #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
  22. #undef MADV_SOFT_OFFLINE
  23. #endif