]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/nolibc: explicitly handle ENOSYS from ptrace()
authorThomas Weißschuh <linux@weissschuh.net>
Sun, 4 Jan 2026 19:05:26 +0000 (20:05 +0100)
committerThomas Weißschuh <linux@weissschuh.net>
Tue, 7 Apr 2026 07:28:32 +0000 (09:28 +0200)
commit9a5206f2564128ada61ba1d29aeafa0a439dca00
treec90a37cb590449c3782e317d7e780706926e67a5
parentce834c9cb984a9b85160a2c3a3821e179fa502fa
selftests/nolibc: explicitly handle ENOSYS from ptrace()

The automatic ENOSYS handling in EXPECT_SYSER() is about to be removed.
ptrace() will return legitimately return ENOSYS on qemu-user, so handle
it explicitly.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://patch.msgid.link/20260406-nolibc-no-skip-enosys-v1-1-c046b1ac7d73@weissschuh.net/
tools/testing/selftests/nolibc/nolibc-test.c