From 8085bd60e25f8697bd50e0e4658a26d23e16702a Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Mon, 2 Feb 2009 15:36:15 +0000 Subject: [PATCH] * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define. --- ChangeLog.mips | 4 ++++ sysdeps/unix/sysv/linux/mips/bits/shm.h | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog.mips b/ChangeLog.mips index d48e4df81cd..bccb10d7967 100644 --- a/ChangeLog.mips +++ b/ChangeLog.mips @@ -1,3 +1,7 @@ +2009-02-02 Joseph Myers + + * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define. + 2009-01-27 Maciej W. Rozycki Atsushi Nemoto diff --git a/sysdeps/unix/sysv/linux/mips/bits/shm.h b/sysdeps/unix/sysv/linux/mips/bits/shm.h index 037980cfa61..07f97434747 100644 --- a/sysdeps/unix/sysv/linux/mips/bits/shm.h +++ b/sysdeps/unix/sysv/linux/mips/bits/shm.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1995,1996,1997,2000,2001,2002,2003 Free Software Foundation, Inc. +/* Copyright (C) 1995,1996,1997,2000,2001,2002,2003,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) */ -- 2.47.2