summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2026-10-20 23:19:41 +0000
committerAlexei Starovoitov <ast@kernel.org>2026-10-21 17:50:51 +0000
commit4c2cdb6156920b5fb578779b5da62edf3fc45556 (patch)
treee980ae8e914ececac5faa2f21e674524fbb9e357 /scripts/basic
parent9b27cd0554c5883318256c32b2aaf060a3e20e0a (diff)
downloadlinux-4c2cdb6156920b5fb578779b5da62edf3fc45556.tar.gz
linux-4c2cdb6156920b5fb578779b5da62edf3fc45556.zip
selftests/bpf: Test unwind_exit of an exception callback
In both tests the prog that throws returns to a call that unwind_goto follows, and its exception callback ends with unwind_exit: - An extension replaces a subprog that cannot unwind. unwind_goto after the call stays, since it shares the pad with a call of a subprog that can unwind. - A subprog that can unwind does a tail call. unwind_exit of the callback has to be exit. Without the fix the callers go to the pad and return 2 instead of 3 and 42 instead of 7. Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://patch.msgid.link/20261020231942.2568163-4-alexei.starovoitov@gmail.com
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions