]> git.ipfire.org Git - thirdparty/linux.git/commit
bpf: test the correct stack liveness of tail calls
authorEduard Zingerman <eddyz87@gmail.com>
Wed, 19 Nov 2025 16:03:55 +0000 (17:03 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 22 Nov 2025 01:45:30 +0000 (17:45 -0800)
commit8f7cf305a15eec663d5084e417f4773f1ef24e23
treeb5d3f8183b835bfccd472cd1b5f1cdc14e39147f
parente40f5a6bf88a781d5f81bc6b8aab9ac31d8c98dd
bpf: test the correct stack liveness of tail calls

A new test is added: caller_stack_write_tail_call tests that the live
stack is correctly tracked for a tail call.

Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Signed-off-by: Martin Teichmann <martin.teichmann@xfel.eu>
Link: https://lore.kernel.org/r/20251119160355.1160932-5-martin.teichmann@xfel.eu
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/progs/verifier_live_stack.c