[LTP] [PATCH v5 0/3] SysV IPC bug reproducer
Andrea Cervesato
andrea.cervesato@suse.de
Wed Mar 13 10:23:28 CET 2024
From: Andrea Cervesato <andrea.cervesato@suse.com>
This patch series provides a bug reproducer for SysV IPC, which has been
written by Michal Hocko.
It also includes the SAFE_MPROTECT macro, useful for many other tests as well.
Andrea Cervesato (3):
Add SAFE_MPROTECT() macro
Print prot flag when SAFE_MMAP() fails
Add shmat04 SysV IPC bug reproducer
include/tst_safe_macros.h | 70 +++++++++++++-
runtest/syscalls | 1 +
runtest/syscalls-ipc | 1 +
.../kernel/syscalls/ipc/shmat/.gitignore | 1 +
testcases/kernel/syscalls/ipc/shmat/shmat04.c | 92 +++++++++++++++++++
5 files changed, 163 insertions(+), 2 deletions(-)
create mode 100644 testcases/kernel/syscalls/ipc/shmat/shmat04.c
--
2.35.3
More information about the ltp
mailing list