diff options
author | Andrii Nakryiko <[email protected]> | 2023-12-02 09:57:02 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-12-02 11:36:51 -0800 |
commit | eabe518de533a4291996020977054a7a7b78c7d3 (patch) | |
tree | a07050432051b4354f9e6ad2d932405c036f3d9b /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 0ef24c8dfae24a4b8aa2e92eac20faecdc5502e5 (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 <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions