diff options
author | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2022-04-25 03:18:59 +0530 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-04-25 20:26:44 -0700 |
commit | 2cbc469a6fc345651569f9570b899af3b005cf80 (patch) | |
tree | e9cab595cdfdbdc6e782af28e50dd38afed22b10 /net/bpf/test_run.c | |
parent | ef89654f2bc7459f45b40be80de6cd3765ef8539 (diff) |
selftests/bpf: Add C tests for kptr
This uses the __kptr and __kptr_ref macros as well, and tries to test
the stuff that is supposed to work, since we have negative tests in
test_verifier suite. Also include some code to test map-in-map support,
such that the inner_map_meta matches the kptr_off_tab of map added as
element.
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20220424214901.2743946-12-memxor@gmail.com
Diffstat (limited to 'net/bpf/test_run.c')
0 files changed, 0 insertions, 0 deletions