diff options
author | 2023-01-28 01:06:33 +0100 | |
---|---|---|
committer | 2023-01-28 12:30:09 -0800 | |
commit | be6b5c10ecc4014446e5c807d6a69c5a7cc1c497 (patch) | |
tree | a7569719e03da3a9c27bbf7e1a686aea5e846a64 /tools/lib/bpf/bpf_helpers.h | |
parent | selftests/bpf: Increase SIZEOF_BPF_LOCAL_STORAGE_ELEM on s390x (diff) | |
download | wireguard-linux-be6b5c10ecc4014446e5c807d6a69c5a7cc1c497.tar.xz wireguard-linux-be6b5c10ecc4014446e5c807d6a69c5a7cc1c497.zip |
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/lib/bpf/bpf_helpers.h')
0 files changed, 0 insertions, 0 deletions