* Define SHM_EXEC
@ 2009-01-30 20:02 Andreas Jaeger
2009-01-30 20:18 ` Ulrich Drepper
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Jaeger @ 2009-01-30 20:02 UTC (permalink / raw)
To: libc-hacker
SHM_EXEC is defined in <linux/shm.h> but missing in glibc's headers.
ok to commit?
Andreas
2009-01-30 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/bits/shm.h (SHM_EXEC): Define.
* sysdeps/unix/sysv/linux/ia64/bits/shm.h (SHM_EXEC): Define.
* sysdeps/unix/sysv/linux/powerpc/bits/shm.h (SHM_EXEC): Define.
* sysdeps/unix/sysv/linux/s390/bits/shm.h (SHM_EXEC): Define.
* sysdeps/unix/sysv/linux/sh/bits/shm.h (SHM_EXEC): Define.
* sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHM_EXEC): Define.
* sysdeps/unix/sysv/linux/x86_64/bits/shm.h (SHM_EXEC): Define.
============================================================
Index: ./sysdeps/unix/sysv/linux/ia64/bits/shm.h
--- ./sysdeps/unix/sysv/linux/ia64/bits/shm.h 16 Jan 2008 23:49:27 -0000 1.7
+++ ./sysdeps/unix/sysv/linux/ia64/bits/shm.h 30 Jan 2009 20:02:22 -0000
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000, 2002, 2005 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2002, 2005, 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) */
============================================================
Index: ./sysdeps/unix/sysv/linux/powerpc/bits/shm.h
--- ./sysdeps/unix/sysv/linux/powerpc/bits/shm.h 16 Jan 2008 23:49:27 -0000 1.8
+++ ./sysdeps/unix/sysv/linux/powerpc/bits/shm.h 30 Jan 2009 20:02:22 -0000
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 2000, 2002, 2004
+/* Copyright (C) 1995, 1996, 1997, 2000, 2002, 2004, 2009
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -28,9 +28,10 @@
#define SHM_W 0200 /* or S_IWUGO from <linux/stat.h> */
/* Flags for `shmat'. */
-#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_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) */
============================================================
Index: ./sysdeps/unix/sysv/linux/s390/bits/shm.h
--- ./sysdeps/unix/sysv/linux/s390/bits/shm.h 16 Jan 2008 23:49:27 -0000 1.6
+++ ./sysdeps/unix/sysv/linux/s390/bits/shm.h 30 Jan 2009 20:02:22 -0000
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 2001, 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
@@ -31,6 +31,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) */
============================================================
Index: ./sysdeps/unix/sysv/linux/sh/bits/shm.h
--- ./sysdeps/unix/sysv/linux/sh/bits/shm.h 16 Jan 2008 23:49:28 -0000 1.2
+++ ./sysdeps/unix/sysv/linux/sh/bits/shm.h 30 Jan 2009 20:02:22 -0000
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995,1996,1997,2000,2002,2004,2006 Free Software Foundation, Inc.
+/* Copyright (C) 1995,1996,1997,2000,2002,2004,2006,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) */
============================================================
Index: ./sysdeps/unix/sysv/linux/sparc/bits/shm.h
--- ./sysdeps/unix/sysv/linux/sparc/bits/shm.h 16 Jan 2008 23:49:28 -0000 1.9
+++ ./sysdeps/unix/sysv/linux/sparc/bits/shm.h 30 Jan 2009 20:02:22 -0000
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 2000, 2002, 2004
+/* Copyright (C) 1995, 1996, 1997, 2000, 2002, 2004, 2009
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -32,6 +32,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) */
============================================================
Index: ./sysdeps/unix/sysv/linux/x86_64/bits/shm.h
--- ./sysdeps/unix/sysv/linux/x86_64/bits/shm.h 16 Jan 2008 23:49:28 -0000 1.6
+++ ./sysdeps/unix/sysv/linux/x86_64/bits/shm.h 30 Jan 2009 20:02:22 -0000
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 2000, 2002, 2004
+/* Copyright (C) 1995, 1996, 1997, 2000, 2002, 2004, 2009
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -31,6 +31,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) */
============================================================
Index: ./sysdeps/unix/sysv/linux/bits/shm.h
--- ./sysdeps/unix/sysv/linux/bits/shm.h 16 Jan 2008 23:49:27 -0000 1.15
+++ ./sysdeps/unix/sysv/linux/bits/shm.h 30 Jan 2009 20:02:22 -0000
@@ -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) */
--
Andreas Jaeger, Director Platform / openSUSE, aj@suse.de
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Maxfeldstr. 5, 90409 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Define SHM_EXEC
2009-01-30 20:02 Define SHM_EXEC Andreas Jaeger
@ 2009-01-30 20:18 ` Ulrich Drepper
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2009-01-30 20:18 UTC (permalink / raw)
To: Andreas Jaeger; +Cc: libc-hacker
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andreas Jaeger wrote:
> ok to commit?
Yes.
- --
â§ Ulrich Drepper â§ Red Hat, Inc. â§ 444 Castro St â§ Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkmDYGMACgkQ2ijCOnn/RHR6/ACgtwY/nrXNZDjw756LTpRvwtd8
xywAnihEymTi0gpAsEPXHs+6GspHpGNK
=t0V3
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-30 20:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-30 20:02 Define SHM_EXEC Andreas Jaeger
2009-01-30 20:18 ` Ulrich Drepper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).