aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2009-02-02 15:36:15 +0000
committerJoseph Myers <joseph@codesourcery.com>2009-02-02 15:36:15 +0000
commit8085bd60e25f8697bd50e0e4658a26d23e16702a (patch)
tree5eb0af1d3ad3095e01683034365c0f0bf26a2399
parent19df4df1752d9d0e9543a1f42579f625c1659a29 (diff)
downloadglibc-8085bd60e25f8697bd50e0e4658a26d23e16702a.tar.xz
glibc-8085bd60e25f8697bd50e0e4658a26d23e16702a.zip
* sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
-rw-r--r--ChangeLog.mips4
-rw-r--r--sysdeps/unix/sysv/linux/mips/bits/shm.h3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog.mips b/ChangeLog.mips
index d48e4df81c..bccb10d796 100644
--- a/ChangeLog.mips
+++ b/ChangeLog.mips
@@ -1,3 +1,7 @@
+2009-02-02 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
+
2009-01-27 Maciej W. Rozycki <macro@linux-mips.org>
Atsushi Nemoto <anemo@mba.ocn.ne.jp>
diff --git a/sysdeps/unix/sysv/linux/mips/bits/shm.h b/sysdeps/unix/sysv/linux/mips/bits/shm.h
index 037980cfa6..07f9743474 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) */