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

Tested for x86_64.

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

ChangeLog
sysdeps/unix/sysv/linux/alpha/bits/msq.h
sysdeps/unix/sysv/linux/bits/msq.h
sysdeps/unix/sysv/linux/generic/bits/msq.h
sysdeps/unix/sysv/linux/hppa/bits/msq.h
sysdeps/unix/sysv/linux/ia64/bits/msq.h
sysdeps/unix/sysv/linux/mips/bits/msq.h
sysdeps/unix/sysv/linux/powerpc/bits/msq.h
sysdeps/unix/sysv/linux/s390/bits/msq.h
sysdeps/unix/sysv/linux/sparc/bits/msq.h
sysdeps/unix/sysv/linux/x86/bits/msq.h

index 343f421a2552c7f9846e45ab6cacdcdaaa3aec54..c0f3dd94767fcb994b037a7c839ebfeecbcc0917 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,26 @@
 2018-06-18  Joseph Myers  <joseph@codesourcery.com>
 
+       * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
+       (MSG_STAT_ANY): New macro.
+       * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
+       (MSG_STAT_ANY): Likewise.
+       * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
+       (MSG_STAT_ANY): Likewise.
+       * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
+       (MSG_STAT_ANY): Likewise.
+       * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
+       (MSG_STAT_ANY): Likewise.
+       * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
+       (MSG_STAT_ANY): Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
+       (MSG_STAT_ANY): Likewise.
+       * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
+       (MSG_STAT_ANY): Likewise.
+       * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
+       (MSG_STAT_ANY): Likewise.
+       * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
+       (MSG_STAT_ANY): Likewise.
+
        * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
        (MAP_TYPE): Change value to 0x2b.
 
index bb11db494857bc8b74444a1a7e23a889409c9373..d15802d109d84d4d5bb3e2abb70205dd167e135d 100644 (file)
@@ -57,6 +57,7 @@ struct msqid_ds
 /* ipcs ctl commands */
 # define MSG_STAT 11
 # define MSG_INFO 12
+# define MSG_STAT_ANY 13
 
 /* buffer for msgctl calls IPC_INFO, MSG_INFO */
 struct msginfo
index 704749015adcdab316f5c2ade39e68a94d3d0217..319521018d3753c75b0758b3497f7e3b584cd693 100644 (file)
@@ -60,6 +60,7 @@ struct msqid_ds
 /* ipcs ctl commands */
 # define MSG_STAT 11
 # define MSG_INFO 12
+# define MSG_STAT_ANY 13
 
 /* buffer for msgctl calls IPC_INFO, MSG_INFO */
 struct msginfo
index 1f57065a09bc0854d8077b84357ce661cfbf39fa..fe2bff6b1270c7a1bbaeedff39d87f28f6ff5648 100644 (file)
@@ -67,6 +67,7 @@ struct msqid_ds
 /* ipcs ctl commands */
 # define MSG_STAT 11
 # define MSG_INFO 12
+# define MSG_STAT_ANY 13
 
 /* buffer for msgctl calls IPC_INFO, MSG_INFO */
 struct msginfo
index 996013d564d83454b7dcde5e7755df95e1ccc77b..b0cfb591e9f390bca62ff61a7a9ef15b59f8b8c9 100644 (file)
@@ -67,6 +67,7 @@ struct msqid_ds
 /* ipcs ctl commands */
 # define MSG_STAT 11
 # define MSG_INFO 12
+# define MSG_STAT_ANY 13
 
 /* buffer for msgctl calls IPC_INFO, MSG_INFO */
 struct msginfo
index eaac267d6d43899483132eb34f174aee04a264c8..acf64e8fd9ff43c2516a79513f399a268fe1fc0e 100644 (file)
@@ -58,6 +58,7 @@ struct msqid_ds
 /* ipcs ctl commands */
 # define MSG_STAT 11
 # define MSG_INFO 12
+# define MSG_STAT_ANY 13
 
 /* buffer for msgctl calls IPC_INFO, MSG_INFO */
 struct msginfo
index 6cab81e5015862d3b774ad49d67913a71b26e5ce..9999aa99db223a372b931644074ff6b7d8a06b03 100644 (file)
@@ -75,6 +75,7 @@ struct msqid_ds
 /* ipcs ctl commands */
 # define MSG_STAT 11
 # define MSG_INFO 12
+# define MSG_STAT_ANY 13
 
 /* buffer for msgctl calls IPC_INFO, MSG_INFO */
 struct msginfo
index 830fa010684f38c96534fcb7ab1e6735f1c87eda..b98d293d542882f526f6d2fe22d5df84e8a3ac6e 100644 (file)
@@ -66,6 +66,7 @@ struct msqid_ds
 /* ipcs ctl commands */
 # define MSG_STAT 11
 # define MSG_INFO 12
+# define MSG_STAT_ANY 13
 
 /* buffer for msgctl calls IPC_INFO, MSG_INFO */
 struct msginfo
index 3c307a0ede16e28bb10e5460c5d11114f89967ea..b5dee36af6ce1080341064ea79b6445837f5bb07 100644 (file)
@@ -67,6 +67,7 @@ struct msqid_ds
 /* ipcs ctl commands */
 # define MSG_STAT 11
 # define MSG_INFO 12
+# define MSG_STAT_ANY 13
 
 /* buffer for msgctl calls IPC_INFO, MSG_INFO */
 struct msginfo
index 340348ca94b71c04b3f26e481e9dc97b806649d1..68a280c1aeaf5f9ec08d6e1b3671231276273dcd 100644 (file)
@@ -67,6 +67,7 @@ struct msqid_ds
 /* ipcs ctl commands */
 # define MSG_STAT 11
 # define MSG_INFO 12
+# define MSG_STAT_ANY 13
 
 /* buffer for msgctl calls IPC_INFO, MSG_INFO */
 struct msginfo
index 9461e9433c363dbd145c3258b1da33cd5d9aebf9..bc2e3bd13d137683a3a51dcefd05894f87298ea9 100644 (file)
@@ -65,6 +65,7 @@ struct msqid_ds
 /* ipcs ctl commands */
 # define MSG_STAT 11
 # define MSG_INFO 12
+# define MSG_STAT_ANY 13
 
 /* buffer for msgctl calls IPC_INFO, MSG_INFO */
 struct msginfo