aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/recursion.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2023-12-02 09:57:02 -0800
committerAlexei Starovoitov <ast@kernel.org>2023-12-02 11:36:51 -0800
commiteabe518de533a4291996020977054a7a7b78c7d3 (patch)
treea07050432051b4354f9e6ad2d932405c036f3d9b /tools/testing/selftests/bpf/prog_tests/recursion.c
parent0ef24c8dfae24a4b8aa2e92eac20faecdc5502e5 (diff)
bpf: enforce precision of R0 on program/async callback return
Given we enforce a valid range for program and async callback return value, we must mark R0 as precise to avoid incorrect state pruning. Fixes: b5dc0163d8fd ("bpf: precise scalar_value tracking") Acked-by: Eduard Zingerman <eddyz87@gmail.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/r/20231202175705.885270-9-andrii@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/recursion.c')
0 files changed, 0 insertions, 0 deletions