about summary refs log tree commit diff
path: root/arch/i386/bits/mman.h
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2012-12-06 16:57:22 +0100
committerrofl0r <retnyg@gmx.net>2012-12-06 16:57:22 +0100
commit7e0d4fce41ac95adc080bffa88ee0f51c1cf2837 (patch)
tree90212ac85b5c64ca68724c7200245b0a37878677 /arch/i386/bits/mman.h
parentdb846a6217c61e8d990b3f2f8e0162e93f9349ed (diff)
downloadmusl-7e0d4fce41ac95adc080bffa88ee0f51c1cf2837.tar.gz
musl-7e0d4fce41ac95adc080bffa88ee0f51c1cf2837.tar.xz
musl-7e0d4fce41ac95adc080bffa88ee0f51c1cf2837.zip
add more arch-specific MAP_ macros to bits/mman.h
these are also needed by qemu.
Diffstat (limited to 'arch/i386/bits/mman.h')
-rw-r--r--arch/i386/bits/mman.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/i386/bits/mman.h b/arch/i386/bits/mman.h
index bc8f37c8..4083c198 100644
--- a/arch/i386/bits/mman.h
+++ b/arch/i386/bits/mman.h
@@ -17,6 +17,10 @@
 #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 POSIX_MADV_NORMAL       0
 #define POSIX_MADV_RANDOM       1