summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2020-09-19 08:00:00 +0000
committerDmitry V. Levin <ldv@altlinux.org>2020-09-19 08:00:00 +0000
commit8f0870a780bfd8cd9a91c3b7ad05baccda10bc84 (patch)
treed68f8fba32c69caf0ec9d8a1ec81545f5a347cb8 /Makefile.am
parentcc5602df3f20a94bc38e6d887e7508c3c636b687 (diff)
downloadstrace-8f0870a780bfd8cd9a91c3b7ad05baccda10bc84.tar.gz
semctl: decode struct arguments of IPC_* and SEM_* commands
* ipc_semctl.c: New file. * Makefile.am (libstrace_a_SOURCES): Add it. * ipc_defs.h (NAME_OF_STRUCT_SEMID_DS): New macro. * ipc_sem.c: Stop including "xlat/semctl_flags.h". (SYS_FUNC(semctl)): Remove. * tests/ipc_sem.c (str_ipc_info): New macro. (print_semid_ds, print_sem_info): New functions. (main): Use them to check decoding IPC_INFO, SEM_INFO, IPC_SET, IPC_STAT, SEM_STAT, and SEM_STAT_ANY semctl syscall commands. * NEWS: Mention this change.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 9b2782c89..7e73e6c3a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -153,6 +153,7 @@ libstrace_a_SOURCES = \
ipc_msg.c \
ipc_msgctl.c \
ipc_sem.c \
+ ipc_semctl.c \
ipc_shm.c \
ipc_shmctl.c \
kcmp.c \