about summary refs log tree commit diff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/bits/mman.h4
-rw-r--r--arch/i386/bits/mman.h4
-rw-r--r--arch/microblaze/bits/mman.h4
-rw-r--r--arch/mips/bits/mman.h4
-rw-r--r--arch/powerpc/bits/mman.h4
-rw-r--r--arch/x86_64/bits/mman.h4
6 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/bits/mman.h b/arch/arm/bits/mman.h
index 63d39ab8..2f23d447 100644
--- a/arch/arm/bits/mman.h
+++ b/arch/arm/bits/mman.h
@@ -16,6 +16,10 @@
 #define MAP_ANON       0x20
 #define MAP_ANONYMOUS  MAP_ANON
 #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
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
diff --git a/arch/microblaze/bits/mman.h b/arch/microblaze/bits/mman.h
index 63d39ab8..2f23d447 100644
--- a/arch/microblaze/bits/mman.h
+++ b/arch/microblaze/bits/mman.h
@@ -16,6 +16,10 @@
 #define MAP_ANON       0x20
 #define MAP_ANONYMOUS  MAP_ANON
 #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
diff --git a/arch/mips/bits/mman.h b/arch/mips/bits/mman.h
index f99a2109..3e6faa40 100644
--- a/arch/mips/bits/mman.h
+++ b/arch/mips/bits/mman.h
@@ -16,6 +16,10 @@
 #define MAP_ANON       0x800
 #define MAP_ANONYMOUS  MAP_ANON
 #define MAP_NORESERVE  0x0400
+#define MAP_GROWSDOWN  0x1000
+#define MAP_DENYWRITE  0x2000
+#define MAP_EXECUTABLE 0x4000
+#define MAP_LOCKED     0x8000
 
 #define POSIX_MADV_NORMAL       0
 #define POSIX_MADV_RANDOM       1
diff --git a/arch/powerpc/bits/mman.h b/arch/powerpc/bits/mman.h
index b9ec78c3..0c6cc321 100644
--- a/arch/powerpc/bits/mman.h
+++ b/arch/powerpc/bits/mman.h
@@ -16,6 +16,10 @@
 #define MAP_ANON       0x20
 #define MAP_ANONYMOUS  MAP_ANON
 #define MAP_NORESERVE  0x40
+#define MAP_GROWSDOWN  0x0100
+#define MAP_DENYWRITE  0x0800
+#define MAP_EXECUTABLE 0x1000
+#define MAP_LOCKED     0x80
 
 #define POSIX_MADV_NORMAL       0
 #define POSIX_MADV_RANDOM       1
diff --git a/arch/x86_64/bits/mman.h b/arch/x86_64/bits/mman.h
index 78ed75f5..c4cd8aef 100644
--- a/arch/x86_64/bits/mman.h
+++ b/arch/x86_64/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