aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/sockmap_listen.c
diff options
context:
space:
mode:
authorRoberto Sassu <roberto.sassu@huawei.com>2022-09-20 09:59:51 +0200
committerAlexei Starovoitov <ast@kernel.org>2022-09-21 17:33:43 -0700
commitb94fa9f9dcf99730eabd8febc4c95e44342bfb59 (patch)
tree72f03eef8072c708925a60dcf33e1b6394586121 /tools/testing/selftests/bpf/prog_tests/sockmap_listen.c
parentselftests/bpf: Add test for bpf_verify_pkcs7_signature() kfunc (diff)
downloadlinux-dev-b94fa9f9dcf99730eabd8febc4c95e44342bfb59.tar.xz
linux-dev-b94fa9f9dcf99730eabd8febc4c95e44342bfb59.zip
selftests/bpf: Add tests for dynamic pointers parameters in kfuncs
Add tests to ensure that only supported dynamic pointer types are accepted, that the passed argument is actually a dynamic pointer, that the passed argument is a pointer to the stack, and that bpf_verify_pkcs7_signature() correctly handles dynamic pointers with data set to NULL. The tests are currently in the deny list for s390x (JIT does not support calling kernel function). Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com> Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Link: https://lore.kernel.org/r/20220920075951.929132-14-roberto.sassu@huaweicloud.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_listen.c')
0 files changed, 0 insertions, 0 deletions