Hi Thomas,
I have created two patches to be added to our series, please have a look. The
first one is a note for the robust list docs about the need to use a
vDSO/syscall to avoid the race condition (this should be added to the man page
in the future). The second one adds the new syscalls to the robust list
selftests, testing all available combinations.
Ideally I would like to inject some error to the vDSO test, so we can really
test the mechanism of it being interrupted and the kernel cleaning the
list_op_pending, using ASM injection or ptrace(), but I have left for a next
patch for now.
---
André Almeida (2):
Documentation: futex: Add a note about robust list race condition
selftests: futex: Add tests for robust release operations
Documentation/locking/robust-futex-ABI.rst | 44 +++++
.../selftests/futex/functional/robust_list.c | 203 +++++++++++++++++++++
tools/testing/selftests/futex/include/futextest.h | 3 +
3 files changed, 250 insertions(+)
---
base-commit: 263b70d20d1145dcb857409d7a21c2473365a4ba
change-id: 20260326-tonyk-vdso_test-10281e3a8088
Best regards,
--
André Almeida <andrealmeid@igalia.com>