]> Git Repo - linux.git/commit - net/bpf/test_run.c
selftests/bpf: Add verifier tests for kptr
authorKumar Kartikeya Dwivedi <[email protected]>
Sun, 24 Apr 2022 21:49:00 +0000 (03:19 +0530)
committerAlexei Starovoitov <[email protected]>
Tue, 26 Apr 2022 03:26:44 +0000 (20:26 -0700)
commit05a945deefaa9fe6d34f06f0ab0cbfc72e2dbfa0
treef1dad884c68f7cc4ad26974764cf016d0cb4369a
parent2cbc469a6fc345651569f9570b899af3b005cf80
selftests/bpf: Add verifier tests for kptr

Reuse bpf_prog_test functions to test the support for PTR_TO_BTF_ID in
BPF map case, including some tests that verify implementation sanity and
corner cases.

Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
net/bpf/test_run.c
tools/testing/selftests/bpf/test_verifier.c
tools/testing/selftests/bpf/verifier/map_kptr.c [new file with mode: 0644]
This page took 0.058153 seconds and 4 git commands to generate.