[LTP] [PATCH v15 0/2] futex: Add EFAULT coverage for wake and cmp_requeue

Michael Menasherov mmenashe@redhat.com
Tue Jun 16 20:30:23 CEST 2026


futex_wait06 and futex_wait07 were already merged. This series
contains the two remaining patches.

Patch 1/2 (futex_wake05) is v15 — updated based on review feedback
to add a kernel-space address test case and clarify the comment
explaining the different code paths in get_futex_key().

Patch 2/2 (futex_cmp_requeue03) has not yet received a human review.
It was part of the previous series and addresses EFAULT coverage for
FUTEX_CMP_REQUEUE. Would appreciate a review of this patch as well.

GitHub PR: https://github.com/linux-test-project/ltp/pull/1301

Michael Menasherov (2):
  futex_wake05: Add EFAULT error coverage test
  futex_cmp_requeue03: Add EFAULT error coverage test

 runtest/syscalls                              |   2 +
 testcases/kernel/syscalls/futex/.gitignore    |   2 +
 .../syscalls/futex/futex_cmp_requeue03.c      | 102 ++++++++++++++++++
 .../kernel/syscalls/futex/futex_wake05.c      | 101 +++++++++++++++++
 4 files changed, 207 insertions(+)
 create mode 100644 testcases/kernel/syscalls/futex/futex_cmp_requeue03.c
 create mode 100644 testcases/kernel/syscalls/futex/futex_wake05.c

-- 
2.54.0



More information about the ltp mailing list