mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-08 14:20:07 +00:00
Add MSG_STAT_ANY from Linux 4.17 to bits/msq.h.
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.
This commit is contained in:
parent
91b2f3e5dd
commit
86bf0019ed
21
ChangeLog
21
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.
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user