summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2016-01-24 00:20:43 +0000
committerRich Felker <dalias@aerifal.cx>2016-01-24 19:08:40 -0500
commitf9c3a2e048ef1ef43bd592588d7e11c7b2f4651f (patch)
tree8b3166d2e215b48de73ca35662cc4f60466b9d21 /arch
parent2f6f3dccb447ef68057e6a29cf6290367b00391e (diff)
downloadmusl-f9c3a2e048ef1ef43bd592588d7e11c7b2f4651f.tar.gz
musl-f9c3a2e048ef1ef43bd592588d7e11c7b2f4651f.tar.bz2
musl-f9c3a2e048ef1ef43bd592588d7e11c7b2f4651f.tar.xz
musl-f9c3a2e048ef1ef43bd592588d7e11c7b2f4651f.zip
add missing powerpc specific PROT_SAO memory protection flag
this flag for strong access ordering was added in linux v2.6.27 commit aba46c5027cb59d98052231b36efcbbde9c77a1d
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/bits/mman.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/bits/mman.h b/arch/powerpc/bits/mman.h
index 5320b7d7..779fddec 100644
--- a/arch/powerpc/bits/mman.h
+++ b/arch/powerpc/bits/mman.h
@@ -4,6 +4,7 @@
#define PROT_READ 1
#define PROT_WRITE 2
#define PROT_EXEC 4
+#define PROT_SAO 0x10
#define PROT_GROWSDOWN 0x01000000
#define PROT_GROWSUP 0x02000000