about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/powerpc/bits
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2009-01-30 20:33:15 +0000
committerAndreas Jaeger <aj@suse.de>2009-01-30 20:33:15 +0000
commit4f5ac20b290c1acd477dfd0c8e93b7a15e0be84e (patch)
tree55681e793d7a55c78cac5ece956a1ec3cc13656e /sysdeps/unix/sysv/linux/powerpc/bits
parentb7219e53bcd54d874f85c67469f4c1dd4f2ad5d2 (diff)
downloadglibc-4f5ac20b290c1acd477dfd0c8e93b7a15e0be84e.tar.gz
glibc-4f5ac20b290c1acd477dfd0c8e93b7a15e0be84e.tar.xz
glibc-4f5ac20b290c1acd477dfd0c8e93b7a15e0be84e.zip
(SHM_EXEC): Define.
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/bits')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/bits/shm.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/bits/shm.h b/sysdeps/unix/sysv/linux/powerpc/bits/shm.h
index 6a35ff1d7c..023de7990d 100644
--- a/sysdeps/unix/sysv/linux/powerpc/bits/shm.h
+++ b/sysdeps/unix/sysv/linux/powerpc/bits/shm.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 2000, 2002, 2004
+/* Copyright (C) 1995, 1996, 1997, 2000, 2002, 2004, 2009
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -28,9 +28,10 @@
 #define SHM_W          0200            /* or S_IWUGO from <linux/stat.h> */
 
 /* Flags for `shmat'.  */
-#define SHM_RDONLY     010000          /* attach read-only else read-write */
-#define SHM_RND                020000          /* round attach address to SHMLBA */
-#define SHM_REMAP      040000          /* take-over region on attach */
+#define SHM_RDONLY	010000          /* attach read-only else read-write */
+#define SHM_RND		020000          /* round attach address to SHMLBA */
+#define SHM_REMAP	040000          /* take-over region on attach */
+#define SHM_EXEC	0100000		/* execution access */
 
 /* Commands for `shmctl'.  */
 #define SHM_LOCK       11              /* lock segment (root only) */