Blame SOURCES/glibc-rh1592475-3.patch

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