]> sourceware.org Git - glibc.git/commitdiff
Add SHM_STAT_ANY from Linux 4.17 to bits/shm.h.
authorJoseph Myers <joseph@codesourcery.com>
Mon, 18 Jun 2018 13:37:57 +0000 (13:37 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 18 Jun 2018 13:37:57 +0000 (13:37 +0000)
Linux 4.17 adds a SHM_STAT_ANY constant (ipcs command).  This patch
adds it to the relevant bits/shm.h headers.

Tested for x86_64.

* sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
(SHM_STAT_ANY): New macro.
* sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
(SHM_STAT_ANY): Likewise.
* sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
(SHM_STAT_ANY): Likewise.
* sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
(SHM_STAT_ANY): Likewise.
* sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
(SHM_STAT_ANY): Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
(SHM_STAT_ANY): Likewise.
* sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
(SHM_STAT_ANY): Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
(SHM_STAT_ANY): Likewise.
* sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
(SHM_STAT_ANY): Likewise.
* sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
(SHM_STAT_ANY): Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
(SHM_STAT_ANY): Likewise.
* sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
(SHM_STAT_ANY): Likewise.

13 files changed:
ChangeLog
sysdeps/unix/sysv/linux/alpha/bits/shm.h
sysdeps/unix/sysv/linux/arm/bits/shm.h
sysdeps/unix/sysv/linux/bits/shm.h
sysdeps/unix/sysv/linux/generic/bits/shm.h
sysdeps/unix/sysv/linux/hppa/bits/shm.h
sysdeps/unix/sysv/linux/ia64/bits/shm.h
sysdeps/unix/sysv/linux/mips/bits/shm.h
sysdeps/unix/sysv/linux/powerpc/bits/shm.h
sysdeps/unix/sysv/linux/s390/bits/shm.h
sysdeps/unix/sysv/linux/sh/bits/shm.h
sysdeps/unix/sysv/linux/sparc/bits/shm.h
sysdeps/unix/sysv/linux/x86/bits/shm.h

index b0162f8dcd7373547b3e44c5336857ef262822bb..fd6e171be2a1669f02e41aaa7d72affc4dbd9dd8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,30 @@
 2018-06-18  Joseph Myers  <joseph@codesourcery.com>
 
+       * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
+       (SHM_STAT_ANY): New macro.
+       * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
+       (SHM_STAT_ANY): Likewise.
+       * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
+       (SHM_STAT_ANY): Likewise.
+       * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
+       (SHM_STAT_ANY): Likewise.
+       * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
+       (SHM_STAT_ANY): Likewise.
+       * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
+       (SHM_STAT_ANY): Likewise.
+       * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
+       (SHM_STAT_ANY): Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
+       (SHM_STAT_ANY): Likewise.
+       * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
+       (SHM_STAT_ANY): Likewise.
+       * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
+       (SHM_STAT_ANY): Likewise.
+       * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
+       (SHM_STAT_ANY): Likewise.
+       * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
+       (SHM_STAT_ANY): Likewise.
+
        * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
        (SEM_STAT_ANY): New macro.
        * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
index e9ffc63ee4df04e8e67bf8e4d93cce559980742a..16cd984e52f2ff243af583ee082b42805d014292 100644 (file)
@@ -65,6 +65,7 @@ struct shmid_ds
 /* ipcs ctl commands */
 # define SHM_STAT      13
 # define SHM_INFO      14
+# define SHM_STAT_ANY  15
 
 /* shm_mode upper byte flags */
 # define SHM_DEST      01000   /* segment will be destroyed on last detach */
index eeb0d849d45f97f6b7d41fc1477f3ed0c753b048..e3d4916a50298f3def28af3bbce4f25831a55622 100644 (file)
@@ -68,6 +68,7 @@ struct shmid_ds
 /* ipcs ctl commands */
 # define SHM_STAT      13
 # define SHM_INFO      14
+# define SHM_STAT_ANY  15
 
 /* shm_mode upper byte flags */
 # define SHM_DEST      01000   /* segment will be destroyed on last detach */
index ac0d2a6f4a0b459b23e2ba8751e8145dc5184be8..896c1d96bf2e166dd693b7b7bf46f11916c0a273 100644 (file)
@@ -68,6 +68,7 @@ struct shmid_ds
 /* ipcs ctl commands */
 # define SHM_STAT      13
 # define SHM_INFO      14
+# define SHM_STAT_ANY  15
 
 /* shm_mode upper byte flags */
 # define SHM_DEST      01000   /* segment will be destroyed on last detach */
index ba5174cb5944f3a82f59466d54a833abc46d616c..30d0097b024952498b6844b3c6adaed6f63415ec 100644 (file)
@@ -76,6 +76,7 @@ struct shmid_ds
 /* ipcs ctl commands */
 # define SHM_STAT      13
 # define SHM_INFO      14
+# define SHM_STAT_ANY  15
 
 /* shm_mode upper byte flags */
 # define SHM_DEST      01000   /* segment will be destroyed on last detach */
index bd8e9de8ff40463f67e9526c1bb3964b56c8286b..4967c94190be8ceb2028c5addd74cff4403ad1c7 100644 (file)
@@ -74,6 +74,7 @@ struct shmid_ds
 /* ipcs ctl commands */
 # define SHM_STAT      13
 # define SHM_INFO      14
+# define SHM_STAT_ANY  15
 
 /* shm_mode upper byte flags */
 # define SHM_DEST      01000   /* segment will be destroyed on last detach */
index 8200e4056afbb70d8150ae75043d2ae3ca24b2b1..814f61bd7e01bf7b60018bd054d531f0f2fa9d7e 100644 (file)
@@ -61,6 +61,7 @@ struct shmid_ds
 /* ipcs ctl commands */
 # define SHM_STAT      13
 # define SHM_INFO      14
+# define SHM_STAT_ANY  15
 
 /* shm_mode upper byte flags */
 # define SHM_DEST      01000   /* segment will be destroyed on last detach */
index be9adbf147236bad8e83ada61a60e3a96b9b4be9..22068d7729d9a48428866b1c865d66bad1d758f1 100644 (file)
@@ -62,6 +62,7 @@ struct shmid_ds
 /* ipcs ctl commands */
 # define SHM_STAT      13
 # define SHM_INFO      14
+# define SHM_STAT_ANY  15
 
 /* shm_mode upper byte flags */
 # define SHM_DEST      01000   /* segment will be destroyed on last detach */
index 70451934efb406fdbcb03b59351a570f549b22e0..879023fb9a2e37649ad7f68902bf41b0d4ee1411 100644 (file)
@@ -77,6 +77,7 @@ struct shmid_ds
 /* ipcs ctl commands */
 # define SHM_STAT      13
 # define SHM_INFO      14
+# define SHM_STAT_ANY  15
 
 /* shm_mode upper byte flags */
 # define SHM_DEST      01000   /* segment will be destroyed on last detach */
index 70dbfd4a1c47ffa10d7da9b1f5ec46f540ef6043..65235ab85e16def1bfb3c7d33404e78e928a159a 100644 (file)
@@ -75,6 +75,7 @@ struct shmid_ds
 /* ipcs ctl commands */
 # define SHM_STAT      13
 # define SHM_INFO      14
+# define SHM_STAT_ANY  15
 
 /* shm_mode upper byte flags */
 # define SHM_DEST      01000   /* segment will be destroyed on last detach */
index f7dd5864262c9069f00f8a12f8634418fbe8aeb8..25ca3a2abb82242804a3a612bebaaa1eb3b357b0 100644 (file)
@@ -66,6 +66,7 @@ struct shmid_ds
 /* ipcs ctl commands */
 # define SHM_STAT      13
 # define SHM_INFO      14
+# define SHM_STAT_ANY  15
 
 /* shm_mode upper byte flags */
 # define SHM_DEST      01000   /* segment will be destroyed on last detach */
index d7c5857efcb4b994cec587204a0b8448cdcafad9..d967f167d961eb5ed370a0955f3dc7e6f1bca95c 100644 (file)
@@ -75,6 +75,7 @@ struct shmid_ds
 /* ipcs ctl commands */
 # define SHM_STAT      13
 # define SHM_INFO      14
+# define SHM_STAT_ANY  15
 
 /* shm_mode upper byte flags */
 # define SHM_DEST      01000   /* segment will be destroyed on last detach */
index fa70813cb883ca59903ac970a6e20cd6b11b3692..767bb78573d57e5d936af23ef89b2385b2765069 100644 (file)
@@ -74,6 +74,7 @@ struct shmid_ds
 /* ipcs ctl commands */
 # define SHM_STAT      13
 # define SHM_INFO      14
+# define SHM_STAT_ANY  15
 
 /* shm_mode upper byte flags */
 # define SHM_DEST      01000   /* segment will be destroyed on last detach */
This page took 0.084259 seconds and 5 git commands to generate.