More gen_loader fixes #2
Status from this message: This series was applied to bpf/bpf-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | bpf: Reject exclusive maps for bpf_map_elem iteratorskernel/ | +4 | 1 reply | Applied |
| 2/4 | libbpf: Guard add_data() against size overflowtools/ | +7 | 0 replies | Applied |
| 3/4 | selftests/bpf: Keep verifier_map_ptr exercising ops pointer accesstools/ | +30 | 0 replies | Applied |
| 4/4 | selftests/bpf: Test that exclusive maps are rejected as iter targetstools/ | +39 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH bpf-next 0/4] More gen_loader fixes #2
Another small follow-up from the sashiko findings about signed loaders. In particular, closing the gap to reject exclusive maps in iterators.
Daniel Borkmann (4):
bpf: Reject exclusive maps for bpf_map_elem iterators
libbpf: Guard add_data() against size overflow selftests/bpf: Keep verifier_map_ptr exercising ops pointer access selftests/bpf: Test that exclusive maps are rejected as iter targets
kernel/bpf/map_iter.c | 4 ++ tools/lib/bpf/gen_loader.c | 8 +++- .../selftests/bpf/prog_tests/map_excl.c | 39 +++++++++++++++++++ .../selftests/bpf/progs/verifier_map_ptr.c | 34 ++++++++++++++-- 4 files changed, 80 insertions(+), 5 deletions(-)
Signature · 1 line
2.43.0