about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/bits/shm.h
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/bits/shm.h
parentb7219e53bcd54d874f85c67469f4c1dd4f2ad5d2 (diff)
downloadglibc-4f5ac20b290c1acd477dfd0c8e93b7a15e0be84e.tar.gz
glibc-4f5ac20b290c1acd477dfd0c8e93b7a15e0be84e.tar.xz
glibc-4f5ac20b290c1acd477dfd0c8e93b7a15e0be84e.zip
(SHM_EXEC): Define.
Diffstat (limited to 'sysdeps/unix/sysv/linux/bits/shm.h')
-rw-r--r--sysdeps/unix/sysv/linux/bits/shm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/shm.h b/sysdeps/unix/sysv/linux/bits/shm.h
index 3f63152304..90ad0c718f 100644
--- a/sysdeps/unix/sysv/linux/bits/shm.h
+++ b/sysdeps/unix/sysv/linux/bits/shm.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995,1996,1997,2000,2002,2004 Free Software Foundation, Inc.
+/* Copyright (C) 1995,1996,1997,2000,2002,2004,2009 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
@@ -30,6 +30,7 @@
 #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) */