about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-08-14 22:11:03 -0400
committerMike Frysinger <vapier@gentoo.org>2015-08-18 02:36:55 -0400
commitc5bf7f84bf041e9c7c690d09baad4daf3e992805 (patch)
tree98b39442bde1dae60ed07a38813abb3794f76089
parent8584204806ffea6f33bc6e42a1f07d6bc5a35105 (diff)
downloadglibc-c5bf7f84bf041e9c7c690d09baad4daf3e992805.tar.gz
glibc-c5bf7f84bf041e9c7c690d09baad4daf3e992805.tar.xz
glibc-c5bf7f84bf041e9c7c690d09baad4daf3e992805.zip
hppa: shm.h: add SHM_EXEC
This brings hppa in line with all the other arches.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/unix/sysv/linux/hppa/bits/shm.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 18fe2b0050..3b407f65b8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
 
+	* sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
+
+2015-08-18  Mike Frysinger  <vapier@gentoo.org>
+
 	* sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
 	kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
 	* sysdeps/unix/sysv/linux/hppa/kernel-features.h
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/shm.h b/sysdeps/unix/sysv/linux/hppa/bits/shm.h
index a6a86f77ad..8e243461a8 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/shm.h
+++ b/sysdeps/unix/sysv/linux/hppa/bits/shm.h
@@ -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) */