selftests/bpf: Add various tests to check helper access into ptr_to_btf_id.
authorAlexei Starovoitov <ast@kernel.org>
Mon, 13 Mar 2023 23:58:45 +0000 (16:58 -0700)
committerMartin KaFai Lau <martin.lau@kernel.org>
Tue, 14 Mar 2023 06:08:21 +0000 (23:08 -0700)
commitf25fd6088216bd257902e5c212177cddcb291218
tree292b2b876994e3b9718ad958de3b6f3b7b083c6d
parent3e30be4288b31702d4898487a74e80ba14150a9f
selftests/bpf: Add various tests to check helper access into ptr_to_btf_id.

Add various tests to check helper access into ptr_to_btf_id.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: David Vernet <void@manifault.com>
Link: https://lore.kernel.org/r/20230313235845.61029-4-alexei.starovoitov@gmail.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
tools/testing/selftests/bpf/progs/task_kfunc_failure.c
tools/testing/selftests/bpf/progs/task_kfunc_success.c