Go to the documentation of this file.
17 #define PROT_NONE 0x00
18 #define PROT_READ 0x01
19 #define PROT_WRITE 0x02
20 #define PROT_EXEC 0x04
23 #define PROT_GROWSDOWN 0x01000000
24 #define PROT_GROWSUP 0x02000000
29 #define MAP_SHARED 0x001
30 #define MAP_PRIVATE 0x002
31 #define MAP_TYPE 0x00f
32 #define MAP_FIXED 0x010
35 #define MAP_RENAME 0x020
36 #define MAP_AUTOGROW 0x040
37 #define MAP_LOCAL 0x080
38 #define MAP_AUTORSRV 0x100
41 #define MAP_NORESERVE 0x0400
42 #define MAP_ANONYMOUS 0x0800
43 #define MAP_GROWSDOWN 0x1000
44 #define MAP_DENYWRITE 0x2000
45 #define MAP_EXECUTABLE 0x4000
46 #define MAP_LOCKED 0x8000
47 #define MAP_POPULATE 0x10000
48 #define MAP_NONBLOCK 0x20000
49 #define MAP_STACK 0x40000
50 #define MAP_HUGETLB 0x80000
55 #define MS_ASYNC 0x0001
56 #define MS_INVALIDATE 0x0002
57 #define MS_SYNC 0x0004
67 #define MADV_SEQUENTIAL 2
68 #define MADV_WILLNEED 3
69 #define MADV_DONTNEED 4
73 #define MADV_DONTFORK 10
74 #define MADV_DOFORK 11
76 #define MADV_MERGEABLE 12
77 #define MADV_UNMERGEABLE 13
78 #define MADV_HWPOISON 100
80 #define MADV_HUGEPAGE 14
81 #define MADV_NOHUGEPAGE 15
83 #define MADV_DONTDUMP 16
85 #define MADV_DODUMP 17