diff options
author | Kumar Kartikeya Dwivedi <[email protected]> | 2024-12-02 16:02:38 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2024-12-02 17:47:56 -0800 |
commit | 7f71197001e35f46aca97204986edf9301f8dd09 (patch) | |
tree | e8560c8a31d366717a26eab0ff8132aa3f505694 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 12659d28615d606b36e382f4de2dd05550d202af (diff) |
selftests/bpf: Add tests for iter arg check
Add selftests to cover argument type check for iterator kfuncs, and
cover all three kinds (new, next, destroy). Without the fix in the
previous patch, the selftest would not cause a verifier error.
Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions