strace/xlat/shm_flags.in
Dmitry V. Levin 1abb9ffd20 Provide fallback definitions for SHM_EXEC constant
Although SHM_EXEC is available in <linux/shm.h> since kernel commit
v2.6.9-rc2~23^2~93^2~78, the glibc version of <sys/shm.h> did not
provide SHM_EXEC until commit glibc-2.10~238.

* xlat/shm_flags.in (SHM_EXEC): Add fallback definition.
* tests/shmxt.c (SHM_EXEC): Likewise.
2017-11-17 11:26:55 +00:00

5 lines
46 B
Plaintext

SHM_RDONLY
SHM_RND
SHM_REMAP
SHM_EXEC 0100000