summaryrefslogtreecommitdiffstats
path: root/compiler-rt/SDKs/linux/usr/include
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/SDKs/linux/usr/include')
-rw-r--r--compiler-rt/SDKs/linux/usr/include/sys/mman.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/SDKs/linux/usr/include/sys/mman.h b/compiler-rt/SDKs/linux/usr/include/sys/mman.h
index f27fdee6986..7c4d05181f5 100644
--- a/compiler-rt/SDKs/linux/usr/include/sys/mman.h
+++ b/compiler-rt/SDKs/linux/usr/include/sys/mman.h
@@ -20,7 +20,7 @@
typedef __SIZE_TYPE__ size_t;
#define PROT_READ 0x1
-#define PROT_WRITE 0x1
+#define PROT_WRITE 0x2
#define PROT_EXEC 0x4
extern int mprotect (void *__addr, size_t __len, int __prot)
OpenPOWER on IntegriCloud