mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-24 03:31:07 +00:00
Add SHM_STAT_ANY from Linux 4.17 to bits/shm.h.
Linux 4.17 adds a SHM_STAT_ANY constant (ipcs command). This patch adds it to the relevant bits/shm.h headers. Tested for x86_64. * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC] (SHM_STAT_ANY): New macro. * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC] (SHM_STAT_ANY): Likewise. * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC] (SHM_STAT_ANY): Likewise. * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC] (SHM_STAT_ANY): Likewise. * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC] (SHM_STAT_ANY): Likewise. * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC] (SHM_STAT_ANY): Likewise. * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC] (SHM_STAT_ANY): Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC] (SHM_STAT_ANY): Likewise. * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC] (SHM_STAT_ANY): Likewise. * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC] (SHM_STAT_ANY): Likewise. * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC] (SHM_STAT_ANY): Likewise. * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC] (SHM_STAT_ANY): Likewise.
This commit is contained in:
parent
176c7fee51
commit
f2857da7cd
25
ChangeLog
25
ChangeLog
@ -1,5 +1,30 @@
|
||||
2018-06-18 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
|
||||
(SHM_STAT_ANY): New macro.
|
||||
* sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
|
||||
(SHM_STAT_ANY): Likewise.
|
||||
* sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
|
||||
(SHM_STAT_ANY): Likewise.
|
||||
* sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
|
||||
(SHM_STAT_ANY): Likewise.
|
||||
* sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
|
||||
(SHM_STAT_ANY): Likewise.
|
||||
* sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
|
||||
(SHM_STAT_ANY): Likewise.
|
||||
* sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
|
||||
(SHM_STAT_ANY): Likewise.
|
||||
* sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
|
||||
(SHM_STAT_ANY): Likewise.
|
||||
* sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
|
||||
(SHM_STAT_ANY): Likewise.
|
||||
* sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
|
||||
(SHM_STAT_ANY): Likewise.
|
||||
* sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
|
||||
(SHM_STAT_ANY): Likewise.
|
||||
* sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
|
||||
(SHM_STAT_ANY): Likewise.
|
||||
|
||||
* sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
|
||||
(SEM_STAT_ANY): New macro.
|
||||
* sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
|
||||
|
@ -65,6 +65,7 @@ struct shmid_ds
|
||||
/* ipcs ctl commands */
|
||||
# define SHM_STAT 13
|
||||
# define SHM_INFO 14
|
||||
# define SHM_STAT_ANY 15
|
||||
|
||||
/* shm_mode upper byte flags */
|
||||
# define SHM_DEST 01000 /* segment will be destroyed on last detach */
|
||||
|
@ -68,6 +68,7 @@ struct shmid_ds
|
||||
/* ipcs ctl commands */
|
||||
# define SHM_STAT 13
|
||||
# define SHM_INFO 14
|
||||
# define SHM_STAT_ANY 15
|
||||
|
||||
/* shm_mode upper byte flags */
|
||||
# define SHM_DEST 01000 /* segment will be destroyed on last detach */
|
||||
|
@ -68,6 +68,7 @@ struct shmid_ds
|
||||
/* ipcs ctl commands */
|
||||
# define SHM_STAT 13
|
||||
# define SHM_INFO 14
|
||||
# define SHM_STAT_ANY 15
|
||||
|
||||
/* shm_mode upper byte flags */
|
||||
# define SHM_DEST 01000 /* segment will be destroyed on last detach */
|
||||
|
@ -76,6 +76,7 @@ struct shmid_ds
|
||||
/* ipcs ctl commands */
|
||||
# define SHM_STAT 13
|
||||
# define SHM_INFO 14
|
||||
# define SHM_STAT_ANY 15
|
||||
|
||||
/* shm_mode upper byte flags */
|
||||
# define SHM_DEST 01000 /* segment will be destroyed on last detach */
|
||||
|
@ -74,6 +74,7 @@ struct shmid_ds
|
||||
/* ipcs ctl commands */
|
||||
# define SHM_STAT 13
|
||||
# define SHM_INFO 14
|
||||
# define SHM_STAT_ANY 15
|
||||
|
||||
/* shm_mode upper byte flags */
|
||||
# define SHM_DEST 01000 /* segment will be destroyed on last detach */
|
||||
|
@ -61,6 +61,7 @@ struct shmid_ds
|
||||
/* ipcs ctl commands */
|
||||
# define SHM_STAT 13
|
||||
# define SHM_INFO 14
|
||||
# define SHM_STAT_ANY 15
|
||||
|
||||
/* shm_mode upper byte flags */
|
||||
# define SHM_DEST 01000 /* segment will be destroyed on last detach */
|
||||
|
@ -62,6 +62,7 @@ struct shmid_ds
|
||||
/* ipcs ctl commands */
|
||||
# define SHM_STAT 13
|
||||
# define SHM_INFO 14
|
||||
# define SHM_STAT_ANY 15
|
||||
|
||||
/* shm_mode upper byte flags */
|
||||
# define SHM_DEST 01000 /* segment will be destroyed on last detach */
|
||||
|
@ -77,6 +77,7 @@ struct shmid_ds
|
||||
/* ipcs ctl commands */
|
||||
# define SHM_STAT 13
|
||||
# define SHM_INFO 14
|
||||
# define SHM_STAT_ANY 15
|
||||
|
||||
/* shm_mode upper byte flags */
|
||||
# define SHM_DEST 01000 /* segment will be destroyed on last detach */
|
||||
|
@ -75,6 +75,7 @@ struct shmid_ds
|
||||
/* ipcs ctl commands */
|
||||
# define SHM_STAT 13
|
||||
# define SHM_INFO 14
|
||||
# define SHM_STAT_ANY 15
|
||||
|
||||
/* shm_mode upper byte flags */
|
||||
# define SHM_DEST 01000 /* segment will be destroyed on last detach */
|
||||
|
@ -66,6 +66,7 @@ struct shmid_ds
|
||||
/* ipcs ctl commands */
|
||||
# define SHM_STAT 13
|
||||
# define SHM_INFO 14
|
||||
# define SHM_STAT_ANY 15
|
||||
|
||||
/* shm_mode upper byte flags */
|
||||
# define SHM_DEST 01000 /* segment will be destroyed on last detach */
|
||||
|
@ -75,6 +75,7 @@ struct shmid_ds
|
||||
/* ipcs ctl commands */
|
||||
# define SHM_STAT 13
|
||||
# define SHM_INFO 14
|
||||
# define SHM_STAT_ANY 15
|
||||
|
||||
/* shm_mode upper byte flags */
|
||||
# define SHM_DEST 01000 /* segment will be destroyed on last detach */
|
||||
|
@ -74,6 +74,7 @@ struct shmid_ds
|
||||
/* ipcs ctl commands */
|
||||
# define SHM_STAT 13
|
||||
# define SHM_INFO 14
|
||||
# define SHM_STAT_ANY 15
|
||||
|
||||
/* shm_mode upper byte flags */
|
||||
# define SHM_DEST 01000 /* segment will be destroyed on last detach */
|
||||
|
Loading…
Reference in New Issue
Block a user