summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/futex/functional/Makefile
diff options
context:
space:
mode:
authorAndré Almeida <andrealmeid@igalia.com>2025-11-10 19:41:30 -0300
committerThomas Gleixner <tglx@linutronix.de>2025-11-14 14:39:37 +0100
commitcd91b502f1b4bb81e82fbae38678c698ee5ac026 (patch)
tree9b7d820c11b26db2f8d42ad1bc252933a3bd6ffb /tools/testing/selftests/futex/functional/Makefile
parent275498b88104b36a0f7f913da53dc81c1daed277 (diff)
selftests/futex: Create test for robust list
Create a test for the robust list mechanism. Test the following uAPI operations: - Creating a robust mutex where the lock waiter is wake by the kernel when the lock owner died - Setting a robust list to the current task - Getting a robust list from the current task - Getting a robust list from another task - Using the list_op_pending field from robust_list_head struct to test robustness when the lock owner dies before completing the locking - Setting a invalid size for syscall argument `len` - Adding multiple elements to a robust list wait waiting for each of them - Creating a circular list and checking that the kernel does not get stuck in an infinity loop Signed-off-by: André Almeida <andrealmeid@igalia.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://patch.msgid.link/20251110224130.3044761-1-andrealmeid@igalia.com
Diffstat (limited to 'tools/testing/selftests/futex/functional/Makefile')
-rw-r--r--tools/testing/selftests/futex/functional/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/futex/functional/Makefile b/tools/testing/selftests/futex/functional/Makefile
index 490ace1f017e..af7ec309ea78 100644
--- a/tools/testing/selftests/futex/functional/Makefile
+++ b/tools/testing/selftests/futex/functional/Makefile
@@ -22,7 +22,8 @@ TEST_GEN_PROGS := \
futex_priv_hash \
futex_numa_mpol \
futex_waitv \
- futex_numa
+ futex_numa \
+ robust_list
TEST_PROGS := run.sh