diff options
author | 2024-12-02 16:02:38 -0800 | |
---|---|---|
committer | 2024-12-02 17:47:56 -0800 | |
commit | 7f71197001e35f46aca97204986edf9301f8dd09 (patch) | |
tree | e8560c8a31d366717a26eab0ff8132aa3f505694 /scripts/generate_rust_analyzer.py | |
parent | bpf: Ensure reg is PTR_TO_STACK in process_iter_arg (diff) | |
download | wireguard-linux-7f71197001e35f46aca97204986edf9301f8dd09.tar.xz wireguard-linux-7f71197001e35f46aca97204986edf9301f8dd09.zip |
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 <memxor@gmail.com>
Link: https://lore.kernel.org/r/20241203000238.3602922-3-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions