From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1441 invoked by alias); 30 Jan 2009 20:02:52 -0000 Received: (qmail 1313 invoked by uid 22791); 30 Jan 2009 20:02:51 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_21,KAM_MX X-Spam-Check-By: sourceware.org Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 30 Jan 2009 20:02:47 +0000 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id DFD7447794 for ; Fri, 30 Jan 2009 21:02:43 +0100 (CET) Received: by x61s-aj.site (Postfix, from userid 1000) id A614EE16B; Fri, 30 Jan 2009 21:02:43 +0100 (CET) From: Andreas Jaeger To: libc-hacker@sources.redhat.com Subject: Define SHM_EXEC Date: Fri, 30 Jan 2009 20:02:00 -0000 Message-ID: <87ljss4l5p.fsf@suse.de> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Mailing-List: contact libc-hacker-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sourceware.org X-SW-Source: 2009-01/txt/msg00014.txt.bz2 SHM_EXEC is defined in but missing in glibc's headers. ok to commit? Andreas 2009-01-30 Andreas Jaeger * 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. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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. =20 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 */ =20 /* Commands for `shmctl'. */ #define SHM_LOCK 11 /* lock segment (root only) */ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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. =20 @@ -28,9 +28,10 @@ #define SHM_W 0200 /* or S_IWUGO from */ =20 /* 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 */ =20 /* Commands for `shmctl'. */ #define SHM_LOCK 11 /* lock segment (root only) */ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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. =20 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 */ =20 /* Commands for `shmctl'. */ #define SHM_LOCK 11 /* lock segment (root only) */ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 Foundati= on, Inc. +/* Copyright (C) 1995,1996,1997,2000,2002,2004,2006,2009 Free Software Fou= ndation, Inc. This file is part of the GNU C Library. =20 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 */ =20 /* Commands for `shmctl'. */ #define SHM_LOCK 11 /* lock segment (root only) */ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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. =20 @@ -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 */ =20 /* Commands for `shmctl'. */ #define SHM_LOCK 11 /* lock segment (root only) */ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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. =20 @@ -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 */ =20 /* Commands for `shmctl'. */ #define SHM_LOCK 11 /* lock segment (root only) */ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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, I= nc. +/* Copyright (C) 1995,1996,1997,2000,2002,2004,2009 Free Software Foundati= on, Inc. This file is part of the GNU C Library. =20 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 */ =20 /* Commands for `shmctl'. */ #define SHM_LOCK 11 /* lock segment (root only) */ --=20 Andreas Jaeger, Director Platform / openSUSE, aj@suse.de SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG N=FCrnberg) Maxfeldstr. 5, 90409 N=FCrnberg, Germany GPG fingerprint =3D 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126