[LTP] PATCH] futex: Add error coverage tests for wait, wake and cmp_requeue

Michael Menasherov mmenashe@redhat.com
Mon Mar 30 17:22:45 CEST 2026


Hi.
I like to submit a patch that adds error coverage tests for the futex
syscall.
The test's cover are as follows.
futex_wait06: EFAULT for bad uaddr and timeout pointers
futex_wait07: EINTR when interrupted by a signal
futex_wake05: EFAULT for unmapped and PROT_NONE addresses
futex_cmp_requeue03: EFAULT for bad uaddr/uaddr2, and EACCES

This is my first patch contribution to LTP, any feedback and suggestions
will be welcomed.
Thanks.
-- 

Michael Menasherov

Software Quality Engineer - Automotive Kernel

Red Hat <https://www.redhat.com/>
<https://www.redhat.com/>


More information about the ltp mailing list