[LTP] [PATCH v1 0/2] semctl01: fix SEM_STAT failures under parallel LTP runs
Stephen Bertram
sbertram@redhat.com
Thu Jul 30 21:49:49 CEST 2026
From: Stephen Bertram <sbertram@redhat.com>
Split from the single-patch version per review feedback, so each patch
is one logical, independently-bisectable change:
1/2: introduce get_ipc_idx_from_id() in libs/newipc and convert
shmctl01 to use it (no behavior change)
2/2: fix semctl01's SEM_STAT lookup on top of the new helper
See the prior thread for context:
https://lists.linux.it/pipermail/ltp/2026-July/050268.html
Stephen Bertram (2):
newipc: Factor out generic get_ipc_idx_from_id() helper
semctl01: fix SEM_STAT failures under parallel LTP runs
include/tse_newipc.h | 20 ++++++
libs/newipc/tse_newipc.c | 13 ++++
testcases/kernel/syscalls/semctl/Makefile | 2 +-
testcases/kernel/syscalls/semctl/semctl01.c | 76 +++++++++++++++++----
testcases/kernel/syscalls/shmctl/shmctl01.c | 14 ++--
5 files changed, 105 insertions(+), 20 deletions(-)
--
2.55.0
More information about the ltp
mailing list