summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYonghong Song <yonghong.song@linux.dev>2026-05-17 18:07:07 +0300
committerAlexei Starovoitov <ast@kernel.org>2026-05-17 23:53:24 +0300
commit576482b55c19e7ec00e162a0fde4c4f1a95128c7 (patch)
treeae1e6990df19016ceaae31b732355a56efa56bc7 /lib
parent18a37465b0ab5237a1d0ebf93a2a3b6a2da540b3 (diff)
downloadlinux-576482b55c19e7ec00e162a0fde4c4f1a95128c7.tar.xz
selftests/bpf: Add exception tests with stack arguments
Add tests to verify that bpf_throw() correctly unwinds the stack when the program uses outgoing stack arguments (functions with >5 args). Without the preceding x86 fix, these tests crash the kernel on x86 due to corrupted callee-saved register restore. There is no change for arm64 to support exception with stack arguments. Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Signed-off-by: Yonghong Song <yonghong.song@linux.dev> Link: https://lore.kernel.org/r/20260517150707.289273-1-yonghong.song@linux.dev Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions