1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Add SEM_STAT_ANY from Linux 4.17 to bits/sem.h.

Linux 4.17 adds a SEM_STAT_ANY constant (ipcs command).  This patch
adds it to the relevant bits/sem.h headers.

Tested for x86_64.

	* sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
	(SEM_STAT_ANY): New macro.
	* sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
	(SEM_STAT_ANY): Likewise.
	* sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
	(SEM_STAT_ANY): Likewise.
	* sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
	(SEM_STAT_ANY): Likewise.
	* sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
	(SEM_STAT_ANY): Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
	(SEM_STAT_ANY): Likewise.
	* sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
	(SEM_STAT_ANY): Likewise.
	* sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
	(SEM_STAT_ANY): Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
	(SEM_STAT_ANY): Likewise.
	* sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
	(SEM_STAT_ANY): Likewise.
This commit is contained in:
Joseph Myers
2018-06-18 13:36:41 +00:00
parent 86bf0019ed
commit 176c7fee51
11 changed files with 31 additions and 0 deletions

View File

@ -1,5 +1,26 @@
2018-06-18 Joseph Myers <joseph@codesourcery.com> 2018-06-18 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
(SEM_STAT_ANY): New macro.
* sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
(SEM_STAT_ANY): Likewise.
* sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
(SEM_STAT_ANY): Likewise.
* sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
(SEM_STAT_ANY): Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
(SEM_STAT_ANY): Likewise.
* sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
(SEM_STAT_ANY): Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
(SEM_STAT_ANY): Likewise.
* sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
(SEM_STAT_ANY): Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
(SEM_STAT_ANY): Likewise.
* sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
(SEM_STAT_ANY): Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC] * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
(MSG_STAT_ANY): New macro. (MSG_STAT_ANY): New macro.
* sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC] * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]

View File

@ -66,6 +66,7 @@ struct semid_ds
/* ipcs ctl cmds */ /* ipcs ctl cmds */
# define SEM_STAT 18 # define SEM_STAT 18
# define SEM_INFO 19 # define SEM_INFO 19
# define SEM_STAT_ANY 20
struct seminfo struct seminfo
{ {

View File

@ -68,6 +68,7 @@ struct semid_ds
/* ipcs ctl cmds */ /* ipcs ctl cmds */
# define SEM_STAT 18 # define SEM_STAT 18
# define SEM_INFO 19 # define SEM_INFO 19
# define SEM_STAT_ANY 20
struct seminfo struct seminfo
{ {

View File

@ -74,6 +74,7 @@ struct semid_ds
/* ipcs ctl cmds */ /* ipcs ctl cmds */
# define SEM_STAT 18 # define SEM_STAT 18
# define SEM_INFO 19 # define SEM_INFO 19
# define SEM_STAT_ANY 20
struct seminfo struct seminfo
{ {

View File

@ -73,6 +73,7 @@ struct semid_ds
/* ipcs ctl cmds */ /* ipcs ctl cmds */
# define SEM_STAT 18 # define SEM_STAT 18
# define SEM_INFO 19 # define SEM_INFO 19
# define SEM_STAT_ANY 20
struct seminfo struct seminfo
{ {

View File

@ -67,6 +67,7 @@ struct semid_ds
/* ipcs ctl cmds */ /* ipcs ctl cmds */
# define SEM_STAT 18 # define SEM_STAT 18
# define SEM_INFO 19 # define SEM_INFO 19
# define SEM_STAT_ANY 20
struct seminfo struct seminfo
{ {

View File

@ -66,6 +66,7 @@ struct semid_ds
/* ipcs ctl cmds */ /* ipcs ctl cmds */
# define SEM_STAT 18 # define SEM_STAT 18
# define SEM_INFO 19 # define SEM_INFO 19
# define SEM_STAT_ANY 20
struct seminfo struct seminfo
{ {

View File

@ -72,6 +72,7 @@ struct semid_ds
/* ipcs ctl cmds */ /* ipcs ctl cmds */
# define SEM_STAT 18 # define SEM_STAT 18
# define SEM_INFO 19 # define SEM_INFO 19
# define SEM_STAT_ANY 20
struct seminfo struct seminfo
{ {

View File

@ -72,6 +72,7 @@ struct semid_ds
/* ipcs ctl cmds */ /* ipcs ctl cmds */
# define SEM_STAT 18 # define SEM_STAT 18
# define SEM_INFO 19 # define SEM_INFO 19
# define SEM_STAT_ANY 20
struct seminfo struct seminfo
{ {

View File

@ -73,6 +73,7 @@ struct semid_ds
/* ipcs ctl cmds */ /* ipcs ctl cmds */
# define SEM_STAT 18 # define SEM_STAT 18
# define SEM_INFO 19 # define SEM_INFO 19
# define SEM_STAT_ANY 20
struct seminfo struct seminfo
{ {

View File

@ -68,6 +68,7 @@ struct semid_ds
/* ipcs ctl cmds */ /* ipcs ctl cmds */
# define SEM_STAT 18 # define SEM_STAT 18
# define SEM_INFO 19 # define SEM_INFO 19
# define SEM_STAT_ANY 20
struct seminfo struct seminfo
{ {