]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests/bpf: Fix open-coded gettid syscall in uprobe syscall tests
authorJiri Olsa <jolsa@kernel.org>
Wed, 1 Oct 2025 12:22:21 +0000 (14:22 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 1 Oct 2025 20:37:29 +0000 (13:37 -0700)
commitf83fcec7843dedf3fcfdef119ccca78e8f24ee63
treeb62c7ee6a135860e65439110b0ee4c27823c3972
parentd3479214c05dbd07bc56f8823e7bd8719fcd39a9
selftests/bpf: Fix open-coded gettid syscall in uprobe syscall tests

Commit 0e2fb011a0ba ("selftests/bpf: Clean up open-coded gettid syscall
invocations") addressed the issue that older libc may not have a gettid()
function call wrapper for the associated syscall.

The uprobe syscall tests got in from tip tree, using sys_gettid in there.

Fixes: 0e2fb011a0ba ("selftests/bpf: Clean up open-coded gettid syscall invocations")
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c