5 Commits

Author SHA1 Message Date
Eugene Syromyatnikov
3f59353ab3 xlat: add fallback definitions to {msg,sem,shm}ctl command constants
* xlat/msgctl_flags.in: Add default values to all constants, reorder
to make them sorted by value.
* xlat/semctl_flags.in: Likewise.
* xlat/shmctl_flags.in: Likewise.

Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
2018-05-09 22:01:45 +00:00
Eugene Syromyatnikov
fe6e9eaa99 xlat: add SHM_STAT_ANY
* xlat/shmctl_flags.in (SHM_STAT_ANY): New constant, introduced
by Linux commit v4.17-rc1~52^2~23.
* tests/ipc_shm.c: Check it.

Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
2018-05-09 22:01:45 +00:00
df819c7249 Remove fallback definitions for SHM_STAT and SHM_INFO constants
These constants are universally available for quite a long time
and are used unconditionally in tests without any complaints.

* xlat/shmctl_flags.in: Remove fallback definitions.
2017-11-17 00:24:41 +00:00
Elvira Khabirova
f9ce39d1e4 ipc.c: move fallback definitions of msg, sem, and shm constants to xlat/
* ipc.c: Move MSG_STAT and MSG_INFO definitions to xlat/msgctl_flags.in.
Move SHM_STAT and SHM_INFO definitions to xlat/shmctl_flags.in.
Move SEM_STAT and SEM_INFO definitions to xlat/semctl_flags.in.
2015-08-01 16:52:43 +00:00
0ed617bd66 Generate xlat/*.in files
Automatically convert xlat structures from *.c files to xlat/*.in files
using "./generate_xlat_in.sh *.c" command.
2014-05-30 21:40:03 +00:00