Skip to content

Misc fixes and preliminaries for iterators

Andrii Nakryiko bpf 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8bpf: improve stack slot state printingkernel/bpf/verifier.c+49 -260 replies
2/8bpf: improve regsafe() checks for PTR_TO_{MEM,BUF,TP_BUFFER}kernel/bpf/verifier.c+5 -10 replies
3/8selftests/bpf: enhance align selftest's expected log matchingtools/testing/selftests/bpf/prog_tests/align.c+12 -60 replies
4/8bpf: honor env->test_state_freq flag in is_state_visited()kernel/bpf/verifier.c+2 -10 replies
5/8selftests/bpf: adjust log_fixup's buffer size for proper truncationtools/testing/selftests/bpf/prog_tests/log_fixup.c+1 -10 replies
6/8bpf: clean up visit_insn()'s instruction processingkernel/bpf/verifier.c+12 -130 replies
7/8bpf: fix visit_insn()'s detection of BPF_FUNC_timer_set_callback helperkernel/bpf/verifier.c+1 -10 replies
8/8bpf: ensure that r0 is marked scratched after any function callkernel/bpf/verifier.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH bpf-next 0/8] Misc fixes and preliminaries for iterators

A bunch of small fixes and improvements done as preliminaries for upcoming open-coded iterators. Sending them out a bit earlier to avoid dragging along and rebasing a bunch of smallish changes.

Andrii Nakryiko (8):
bpf: improve stack slot state printing
bpf: improve regsafe() checks for PTR_TO_{MEM,BUF,TP_BUFFER} selftests/bpf: enhance align selftest's expected log matching
bpf: honor env->test_state_freq flag in is_state_visited() selftests/bpf: adjust log_fixup's buffer size for proper truncation
bpf: clean up visit_insn()'s instruction processing
bpf: fix visit_insn()'s detection of BPF_FUNC_timer_set_callback
helper
bpf: ensure that r0 is marked scratched after any function call

 kernel/bpf/verifier.c                         | 111 +++++++++++-------
 .../testing/selftests/bpf/prog_tests/align.c  |  18 ++-
 .../selftests/bpf/prog_tests/log_fixup.c      |   2 +-
 3 files changed, 83 insertions(+), 48 deletions(-)
Signature · 1 line
2.30.2