projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replace __wake function with macro that performs direct syscall
[musl]
/
arch
/
i386
/
bits
/
mman.h
diff --git
a/arch/i386/bits/mman.h
b/arch/i386/bits/mman.h
index
bc8f37c
..
add6385
100644
(file)
--- a/
arch/i386/bits/mman.h
+++ b/
arch/i386/bits/mman.h
@@
-17,6
+17,14
@@
#define MAP_ANONYMOUS MAP_ANON
#define MAP_32BIT 0x40
#define MAP_NORESERVE 0x4000
#define MAP_ANONYMOUS MAP_ANON
#define MAP_32BIT 0x40
#define MAP_NORESERVE 0x4000
+#define MAP_GROWSDOWN 0x0100
+#define MAP_DENYWRITE 0x0800
+#define MAP_EXECUTABLE 0x1000
+#define MAP_LOCKED 0x2000
+#define MAP_POPULATE 0x8000
+#define MAP_NONBLOCK 0x10000
+#define MAP_STACK 0x20000
+#define MAP_HUGETLB 0x40000
#define POSIX_MADV_NORMAL 0
#define POSIX_MADV_RANDOM 1
#define POSIX_MADV_NORMAL 0
#define POSIX_MADV_RANDOM 1
@@
-44,7
+52,10
@@
#define MADV_UNMERGEABLE 13
#define MADV_HUGEPAGE 14
#define MADV_NOHUGEPAGE 15
#define MADV_UNMERGEABLE 13
#define MADV_HUGEPAGE 14
#define MADV_NOHUGEPAGE 15
+#define MADV_DONTDUMP 16
+#define MADV_DODUMP 17
#define MADV_HWPOISON 100
#define MADV_HWPOISON 100
+#define MADV_SOFT_OFFLINE 101
#define MREMAP_MAYMOVE 1
#define MREMAP_FIXED 2
#define MREMAP_MAYMOVE 1
#define MREMAP_FIXED 2