[PATCH bpf-next v1 00/14] Follow ups for verifier errors set
Kumar Kartikeya Dwivedi <[email protected]>
| Newsgroups | org.kernel.vger.bpf |
|---|---|
| Message-ID | <[email protected]> |
Some follow up changes based on comments from Eduard, Sashiko, and BPF CI Bot. See commits for details. Kumar Kartikeya Dwivedi (14): bpf: Correct verifier diagnostic attribution for stack reads selftests/bpf: Test verifier stack-read diagnostic attribution bpf: Preserve R0 lineage across helper calls bpf: Drop dead spill diagnostic condition bpf: Use canonical stack argument names in diagnostics bpf: Correct kfunc argument diagnostics selftests/bpf: Test kfunc argument diagnostics bpf: Report non-sleepable kfunc programs accurately selftests/bpf: Test non-sleepable kfunc context bpf: Correct Program Structure diagnostic context bpf: Preserve source attribution without source text selftests/bpf: Test Program Structure diagnostic context bpf: Distinguish function references in policy diagnostics selftests/bpf: Test pseudo-function policy diagnostics kernel/bpf/btf.c | 8 +- kernel/bpf/cfg.c | 6 +- kernel/bpf/diagnostics.c | 21 +- kernel/bpf/verifier.c | 180 ++++++++++++------ .../testing/selftests/bpf/progs/dynptr_fail.c | 5 + tools/testing/selftests/bpf/progs/irq.c | 13 ++ .../selftests/bpf/progs/iters_state_safety.c | 3 + .../selftests/bpf/progs/preempt_lock.c | 15 ++ .../bpf/progs/refcounted_kptr_fail.c | 9 + .../selftests/bpf/progs/verifier_cfg.c | 40 ++++ .../selftests/bpf/progs/verifier_gotox.c | 2 + .../selftests/bpf/progs/verifier_loops1.c | 1 + .../selftests/bpf/progs/verifier_unpriv.c | 18 ++ .../selftests/bpf/progs/verifier_xadd.c | 27 +++ 14 files changed, 275 insertions(+), 73 deletions(-) base-commit: c93cbdb13f995f87b5356329b3fe551c80bb482d -- 2.53.0