|
|
978e96 |
From 86bf0019ed9c0d1e19916448454c3f7df0479ac6 Mon Sep 17 00:00:00 2001
|
|
|
978e96 |
From: Joseph Myers <joseph@codesourcery.com>
|
|
|
978e96 |
Date: Mon, 18 Jun 2018 13:34:52 +0000
|
|
|
978e96 |
Subject: [PATCH] Add MSG_STAT_ANY from Linux 4.17 to bits/msq.h.
|
|
|
978e96 |
|
|
|
978e96 |
Linux 4.17 adds a MSG_STAT_ANY constant (ipcs command). This patch
|
|
|
978e96 |
adds it to the relevant bits/msq.h headers.
|
|
|
978e96 |
|
|
|
978e96 |
Tested for x86_64.
|
|
|
978e96 |
|
|
|
978e96 |
* sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
|
|
|
978e96 |
(MSG_STAT_ANY): New macro.
|
|
|
978e96 |
* sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
|
|
|
978e96 |
(MSG_STAT_ANY): Likewise.
|
|
|
978e96 |
* sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
|
|
|
978e96 |
(MSG_STAT_ANY): Likewise.
|
|
|
978e96 |
* sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
|
|
|
978e96 |
(MSG_STAT_ANY): Likewise.
|
|
|
978e96 |
* sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
|
|
|
978e96 |
(MSG_STAT_ANY): Likewise.
|
|
|
978e96 |
* sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
|
|
|
978e96 |
(MSG_STAT_ANY): Likewise.
|
|
|
978e96 |
* sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
|
|
|
978e96 |
(MSG_STAT_ANY): Likewise.
|
|
|
978e96 |
* sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
|
|
|
978e96 |
(MSG_STAT_ANY): Likewise.
|
|
|
978e96 |
* sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
|
|
|
978e96 |
(MSG_STAT_ANY): Likewise.
|
|
|
978e96 |
* sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
|
|
|
978e96 |
(MSG_STAT_ANY): Likewise.
|
|
|
978e96 |
---
|
|
|
978e96 |
ChangeLog | 21 +++++++++++++++++++++
|
|
|
978e96 |
sysdeps/unix/sysv/linux/alpha/bits/msq.h | 1 +
|
|
|
978e96 |
sysdeps/unix/sysv/linux/bits/msq.h | 1 +
|
|
|
978e96 |
sysdeps/unix/sysv/linux/generic/bits/msq.h | 1 +
|
|
|
978e96 |
sysdeps/unix/sysv/linux/hppa/bits/msq.h | 1 +
|
|
|
978e96 |
sysdeps/unix/sysv/linux/ia64/bits/msq.h | 1 +
|
|
|
978e96 |
sysdeps/unix/sysv/linux/mips/bits/msq.h | 1 +
|
|
|
978e96 |
sysdeps/unix/sysv/linux/powerpc/bits/msq.h | 1 +
|
|
|
978e96 |
sysdeps/unix/sysv/linux/s390/bits/msq.h | 1 +
|
|
|
978e96 |
sysdeps/unix/sysv/linux/sparc/bits/msq.h | 1 +
|
|
|
978e96 |
sysdeps/unix/sysv/linux/x86/bits/msq.h | 1 +
|
|
|
978e96 |
11 files changed, 31 insertions(+)
|
|
|
978e96 |
|
|
|
978e96 |
Index: b/sysdeps/unix/sysv/linux/alpha/bits/msq.h
|
|
|
978e96 |
===================================================================
|
|
|
978e96 |
--- a/sysdeps/unix/sysv/linux/alpha/bits/msq.h
|
|
|
978e96 |
+++ b/sysdeps/unix/sysv/linux/alpha/bits/msq.h
|
|
|
978e96 |
@@ -56,6 +56,7 @@ struct msqid_ds
|
|
|
978e96 |
/* ipcs ctl commands */
|
|
|
978e96 |
# define MSG_STAT 11
|
|
|
978e96 |
# define MSG_INFO 12
|
|
|
978e96 |
+# define MSG_STAT_ANY 13
|
|
|
978e96 |
|
|
|
978e96 |
/* buffer for msgctl calls IPC_INFO, MSG_INFO */
|
|
|
978e96 |
struct msginfo
|
|
|
978e96 |
Index: b/sysdeps/unix/sysv/linux/bits/msq.h
|
|
|
978e96 |
===================================================================
|
|
|
978e96 |
--- a/sysdeps/unix/sysv/linux/bits/msq.h
|
|
|
978e96 |
+++ b/sysdeps/unix/sysv/linux/bits/msq.h
|
|
|
978e96 |
@@ -59,6 +59,7 @@ struct msqid_ds
|
|
|
978e96 |
/* ipcs ctl commands */
|
|
|
978e96 |
# define MSG_STAT 11
|
|
|
978e96 |
# define MSG_INFO 12
|
|
|
978e96 |
+# define MSG_STAT_ANY 13
|
|
|
978e96 |
|
|
|
978e96 |
/* buffer for msgctl calls IPC_INFO, MSG_INFO */
|
|
|
978e96 |
struct msginfo
|
|
|
978e96 |
Index: b/sysdeps/unix/sysv/linux/generic/bits/msq.h
|
|
|
978e96 |
===================================================================
|
|
|
978e96 |
--- a/sysdeps/unix/sysv/linux/generic/bits/msq.h
|
|
|
978e96 |
+++ b/sysdeps/unix/sysv/linux/generic/bits/msq.h
|
|
|
978e96 |
@@ -66,6 +66,7 @@ struct msqid_ds
|
|
|
978e96 |
/* ipcs ctl commands */
|
|
|
978e96 |
# define MSG_STAT 11
|
|
|
978e96 |
# define MSG_INFO 12
|
|
|
978e96 |
+# define MSG_STAT_ANY 13
|
|
|
978e96 |
|
|
|
978e96 |
/* buffer for msgctl calls IPC_INFO, MSG_INFO */
|
|
|
978e96 |
struct msginfo
|
|
|
978e96 |
Index: b/sysdeps/unix/sysv/linux/hppa/bits/msq.h
|
|
|
978e96 |
===================================================================
|
|
|
978e96 |
--- a/sysdeps/unix/sysv/linux/hppa/bits/msq.h
|
|
|
978e96 |
+++ b/sysdeps/unix/sysv/linux/hppa/bits/msq.h
|
|
|
978e96 |
@@ -66,6 +66,7 @@ struct msqid_ds
|
|
|
978e96 |
/* ipcs ctl commands */
|
|
|
978e96 |
# define MSG_STAT 11
|
|
|
978e96 |
# define MSG_INFO 12
|
|
|
978e96 |
+# define MSG_STAT_ANY 13
|
|
|
978e96 |
|
|
|
978e96 |
/* buffer for msgctl calls IPC_INFO, MSG_INFO */
|
|
|
978e96 |
struct msginfo
|
|
|
978e96 |
Index: b/sysdeps/unix/sysv/linux/ia64/bits/msq.h
|
|
|
978e96 |
===================================================================
|
|
|
978e96 |
--- a/sysdeps/unix/sysv/linux/ia64/bits/msq.h
|
|
|
978e96 |
+++ b/sysdeps/unix/sysv/linux/ia64/bits/msq.h
|
|
|
978e96 |
@@ -51,6 +51,7 @@ struct msqid_ds
|
|
|
978e96 |
/* ipcs ctl commands */
|
|
|
978e96 |
# define MSG_STAT 11
|
|
|
978e96 |
# define MSG_INFO 12
|
|
|
978e96 |
+# define MSG_STAT_ANY 13
|
|
|
978e96 |
|
|
|
978e96 |
/* buffer for msgctl calls IPC_INFO, MSG_INFO */
|
|
|
978e96 |
struct msginfo
|
|
|
978e96 |
Index: b/sysdeps/unix/sysv/linux/mips/bits/msq.h
|
|
|
978e96 |
===================================================================
|
|
|
978e96 |
--- a/sysdeps/unix/sysv/linux/mips/bits/msq.h
|
|
|
978e96 |
+++ b/sysdeps/unix/sysv/linux/mips/bits/msq.h
|
|
|
978e96 |
@@ -74,6 +74,7 @@ struct msqid_ds
|
|
|
978e96 |
/* ipcs ctl commands */
|
|
|
978e96 |
# define MSG_STAT 11
|
|
|
978e96 |
# define MSG_INFO 12
|
|
|
978e96 |
+# define MSG_STAT_ANY 13
|
|
|
978e96 |
|
|
|
978e96 |
/* buffer for msgctl calls IPC_INFO, MSG_INFO */
|
|
|
978e96 |
struct msginfo
|
|
|
978e96 |
Index: b/sysdeps/unix/sysv/linux/powerpc/bits/msq.h
|
|
|
978e96 |
===================================================================
|
|
|
978e96 |
--- a/sysdeps/unix/sysv/linux/powerpc/bits/msq.h
|
|
|
978e96 |
+++ b/sysdeps/unix/sysv/linux/powerpc/bits/msq.h
|
|
|
978e96 |
@@ -65,6 +65,7 @@ struct msqid_ds
|
|
|
978e96 |
/* ipcs ctl commands */
|
|
|
978e96 |
# define MSG_STAT 11
|
|
|
978e96 |
# define MSG_INFO 12
|
|
|
978e96 |
+# define MSG_STAT_ANY 13
|
|
|
978e96 |
|
|
|
978e96 |
/* buffer for msgctl calls IPC_INFO, MSG_INFO */
|
|
|
978e96 |
struct msginfo
|
|
|
978e96 |
Index: b/sysdeps/unix/sysv/linux/s390/bits/msq.h
|
|
|
978e96 |
===================================================================
|
|
|
978e96 |
--- a/sysdeps/unix/sysv/linux/s390/bits/msq.h
|
|
|
978e96 |
+++ b/sysdeps/unix/sysv/linux/s390/bits/msq.h
|
|
|
978e96 |
@@ -66,6 +66,7 @@ struct msqid_ds
|
|
|
978e96 |
/* ipcs ctl commands */
|
|
|
978e96 |
# define MSG_STAT 11
|
|
|
978e96 |
# define MSG_INFO 12
|
|
|
978e96 |
+# define MSG_STAT_ANY 13
|
|
|
978e96 |
|
|
|
978e96 |
/* buffer for msgctl calls IPC_INFO, MSG_INFO */
|
|
|
978e96 |
struct msginfo
|
|
|
978e96 |
Index: b/sysdeps/unix/sysv/linux/sparc/bits/msq.h
|
|
|
978e96 |
===================================================================
|
|
|
978e96 |
--- a/sysdeps/unix/sysv/linux/sparc/bits/msq.h
|
|
|
978e96 |
+++ b/sysdeps/unix/sysv/linux/sparc/bits/msq.h
|
|
|
978e96 |
@@ -66,6 +66,7 @@ struct msqid_ds
|
|
|
978e96 |
/* ipcs ctl commands */
|
|
|
978e96 |
# define MSG_STAT 11
|
|
|
978e96 |
# define MSG_INFO 12
|
|
|
978e96 |
+# define MSG_STAT_ANY 13
|
|
|
978e96 |
|
|
|
978e96 |
/* buffer for msgctl calls IPC_INFO, MSG_INFO */
|
|
|
978e96 |
struct msginfo
|
|
|
978e96 |
Index: b/sysdeps/unix/sysv/linux/x86/bits/msq.h
|
|
|
978e96 |
===================================================================
|
|
|
978e96 |
--- a/sysdeps/unix/sysv/linux/x86/bits/msq.h
|
|
|
978e96 |
+++ b/sysdeps/unix/sysv/linux/x86/bits/msq.h
|
|
|
978e96 |
@@ -64,6 +64,7 @@ struct msqid_ds
|
|
|
978e96 |
/* ipcs ctl commands */
|
|
|
978e96 |
# define MSG_STAT 11
|
|
|
978e96 |
# define MSG_INFO 12
|
|
|
978e96 |
+# define MSG_STAT_ANY 13
|
|
|
978e96 |
|
|
|
978e96 |
/* buffer for msgctl calls IPC_INFO, MSG_INFO */
|
|
|
978e96 |
struct msginfo
|