]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests/bpf: Fix uprobe_sigill test for uprobe syscall error value
authorJiri Olsa <jolsa@kernel.org>
Fri, 5 Sep 2025 20:57:30 +0000 (22:57 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 15 Sep 2025 11:46:29 +0000 (13:46 +0200)
commit6d48436560e91be858158e227f21aab71698814e
tree84d3f4990c2364a4302e5a2e3f0f20dfc4e8fdd2
parentd3aeb6d97b22272bb4783c6d4309d81bb0a4527c
selftests/bpf: Fix uprobe_sigill test for uprobe syscall error value

The uprobe syscall now returns -ENXIO errno when called outside
kernel trampoline, fixing the current sigill test to reflect that
and renaming it to uprobe_error.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c