diff options
author | Roberto Sassu <roberto.sassu@huawei.com> | 2022-09-20 10:59:51 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-09-22 03:33:43 +0300 |
commit | b94fa9f9dcf99730eabd8febc4c95e44342bfb59 (patch) | |
tree | 72f03eef8072c708925a60dcf33e1b6394586121 /tools/testing/selftests/bpf/DENYLIST.s390x | |
parent | fc97590668ae60b94ad8bc4d9e85958f10cb3567 (diff) | |
download | linux-b94fa9f9dcf99730eabd8febc4c95e44342bfb59.tar.xz |
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/DENYLIST.s390x')
-rw-r--r-- | tools/testing/selftests/bpf/DENYLIST.s390x | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/DENYLIST.s390x b/tools/testing/selftests/bpf/DENYLIST.s390x index a992fd978c1e..17e074eb42b8 100644 --- a/tools/testing/selftests/bpf/DENYLIST.s390x +++ b/tools/testing/selftests/bpf/DENYLIST.s390x @@ -74,3 +74,4 @@ tracing_struct # failed to auto-attach: -524 user_ringbuf # failed to find kernel BTF type ID of '__s390x_sys_prctl': -3 (?) lookup_key # JIT does not support calling kernel function (kfunc) verify_pkcs7_sig # JIT does not support calling kernel function (kfunc) +kfunc_dynptr_param # JIT does not support calling kernel function (kfunc) |