Searched hist:"2 cbc469a6fc345651569f9570b899af3b005cf80" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | map_kptr.c | 2cbc469a6fc345651569f9570b899af3b005cf80 Sun Apr 24 16:48:59 CDT 2022 Kumar Kartikeya Dwivedi <memxor@gmail.com> 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
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | map_kptr.c | 2cbc469a6fc345651569f9570b899af3b005cf80 Sun Apr 24 16:48:59 CDT 2022 Kumar Kartikeya Dwivedi <memxor@gmail.com> 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
|