]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests/bpf: Add uprobe context ip register change test
authorJiri Olsa <jolsa@kernel.org>
Tue, 16 Sep 2025 21:52:59 +0000 (23:52 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 24 Sep 2025 09:25:06 +0000 (02:25 -0700)
commit6a4ea0d1cb4408a7ca8ad0d12bd1d08a35838160
treef6f3cb125201795e06053063d7ad7f10b4f0b233
parent7f8a05c5d388668d5631275b3e3a59bfc8669e06
selftests/bpf: Add uprobe context ip register change test

Adding test to check we can change the application execution
through instruction pointer change through uprobe program.

It's x86_64 specific test.

Acked-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20250916215301.664963-5-jolsa@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/uprobe.c
tools/testing/selftests/bpf/progs/test_uprobe.c