diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2023-12-08 14:19:00 -0800 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2023-12-08 14:19:01 -0800 |
commit | 4af20ab9edee62aa2bb5b6f31b7f029de14e0756 (patch) | |
tree | fc1c424f93e93746a902718f4a0284e6fd002822 /tools/testing/selftests/bpf/progs/cgrp_ls_recursion.c | |
parent | 8b7b0e5fe47de90ba6c350f9abece589fb637f79 (diff) | |
parent | 2929bfac006d8f8e22b307d04e0d71bcb84db698 (diff) |
Merge branch 'bpf-fix-accesses-to-uninit-stack-slots'
Andrei Matei says:
====================
bpf: fix accesses to uninit stack slots
Fix two related issues issues around verifying stack accesses:
1. accesses to uninitialized stack memory was allowed inconsistently
2. the maximum stack depth needed for a program was not always
maintained correctly
The two issues are fixed together in one commit because the code for one
affects the other.
V4 to V5:
- target bpf-next (Alexei)
V3 to V4:
- minor fixup to comment in patch 1 (Eduard)
- C89-style in patch 3 (Andrii)
V2 to V3:
- address review comments from Andrii and Eduard
- drop new verifier tests in favor of editing existing tests to check
for stack depth
- append a patch with a bit of cleanup coming out of the previous review
====================
Link: https://lore.kernel.org/r/20231208032519.260451-1-andreimatei1@gmail.com
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/cgrp_ls_recursion.c')
0 files changed, 0 insertions, 0 deletions