From c5bf7f84bf041e9c7c690d09baad4daf3e992805 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 14 Aug 2015 22:11:03 -0400 Subject: [PATCH] hppa: shm.h: add SHM_EXEC This brings hppa in line with all the other arches. --- ChangeLog | 4 ++++ sysdeps/unix/sysv/linux/hppa/bits/shm.h | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 18fe2b0050..3b407f65b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2015-08-18 Mike Frysinger + + * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define. + 2015-08-18 Mike Frysinger * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete 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) */