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:
21
ChangeLog
21
ChangeLog
@ -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]
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user