summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_tests_framework.c
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2023-01-28 01:06:33 +0100
committerAlexei Starovoitov <ast@kernel.org>2023-01-28 12:30:09 -0800
commitbe6b5c10ecc4014446e5c807d6a69c5a7cc1c497 (patch)
treea7569719e03da3a9c27bbf7e1a686aea5e846a64 /tools/testing/selftests/bpf/prog_tests/prog_tests_framework.c
parent80a611904eef65e8c60e0c8c8f50fa98a0bd0c69 (diff)
selftests/bpf: Add a sign-extension test for kfuncs
s390x ABI requires the caller to zero- or sign-extend the arguments. eBPF already deals with zero-extension (by definition of its ABI), but not with sign-extension. Add a test to cover that potentially problematic area. Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Link: https://lore.kernel.org/r/20230128000650.1516334-15-iii@linux.ibm.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_tests_framework.c')
0 files changed, 0 insertions, 0 deletions