aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan S. Arnold <rsa@us.ibm.com>2009-07-24 09:54:51 -0500
committerRyan Arnold <ryanarn@etna.rchland.ibm.com>2009-07-24 15:10:54 -0500
commit590e37258c2da42c17404304515f9216afdc069b (patch)
treeeb00d827676192270ce3afdc6773a78e3facde64
parent39546e34c289751c4614eb592ca43469431cd944 (diff)
downloadglibc-590e37258c2da42c17404304515f9216afdc069b.zip
glibc-590e37258c2da42c17404304515f9216afdc069b.tar.gz
glibc-590e37258c2da42c17404304515f9216afdc069b.tar.bz2
Define bit for PROT_SAO.
Backported for ibm/2.8 by Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>. commit 30a4429e923d2383a0f2fe9a5fd4b046db1de021 Author: Ulrich Drepper <drepper@redhat.com> Date: Fri Aug 8 05:13:34 2008 +0000 2008-08-07 Pete Eberlein <eberlein@us.ibm.com> [BZ #6791] * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (PROT_SAO): Define.
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/bits/mman.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/bits/mman.h b/sysdeps/unix/sysv/linux/powerpc/bits/mman.h
index e03ab7f..d5729a1 100644
--- a/sysdeps/unix/sysv/linux/powerpc/bits/mman.h
+++ b/sysdeps/unix/sysv/linux/powerpc/bits/mman.h
@@ -1,5 +1,5 @@
/* Definitions for POSIX memory map interface. Linux/PowerPC version.
- Copyright (C) 1997, 2000, 2003, 2005, 2006 Free Software Foundation, Inc.
+ Copyright (C) 1997,2000,2003,2005,2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -34,6 +34,7 @@
#define PROT_WRITE 0x2 /* Page can be written. */
#define PROT_EXEC 0x4 /* Page can be executed. */
#define PROT_NONE 0x0 /* Page can not be accessed. */
+#define PROT_SAO 0x10 /* Strong Access Ordering. */
#define PROT_GROWSDOWN 0x01000000 /* Extend change to start of
growsdown vma (mprotect only). */
#define PROT_GROWSUP 0x02000000 /* Extend change to start of