aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2024-12-02 17:47:57 -0800
committerAlexei Starovoitov <[email protected]>2024-12-02 17:48:06 -0800
commitd4c44354bcaffed729c4eba8c0f2ecfd61fea743 (patch)
treee8560c8a31d366717a26eab0ff8132aa3f505694 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent537a2525eaf76ea9b0dca62b994500d8670b39d5 (diff)
parent7f71197001e35f46aca97204986edf9301f8dd09 (diff)
Merge branch 'fix-missing-process_iter_arg-type-check'
Kumar Kartikeya Dwivedi says: ==================== Fix missing process_iter_arg type check I am taking over Tao's earlier patch set that can be found at [0], after an offline discussion. The bug reported in that thread is that process_iter_arg missed a reg->type == PTR_TO_STACK check. Fix this by adding it in, and also address comments from Andrii on the earlier attempt. Include more selftests to ensure the error is caught. [0]: https://lore.kernel.org/bpf/[email protected] Changelog: ---------- v1 -> v2: v1: https://lore.kernel.org/bpf/[email protected] ==================== Link: https://patch.msgid.link/[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