Skip to content

bpf: increase bpf test coverage

Alexei Starovoitov netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2bpf: allow socket_filter programs to use bpf_prog_test_runkernel/bpf/syscall.c net/core/filter.c+3 -00 replies
2/2selftests/bpf: make test_verifier run most programstools/testing/selftests/bpf/test_verifier.c+49 -10 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/2] bpf: increase bpf test coverage

BPF verifier has 700+ tests used to check correctness of the verifier. Beyond checking the verifier log tell kernel to run accepted programs as well via bpf_prog_test_run() command. That improves quality of the tests and increases bpf test coverage.

Alexei Starovoitov (2):
bpf: allow socket_filter programs to use bpf_prog_test_run selftests/bpf: make test_verifier run most programs

 kernel/bpf/syscall.c                        |  2 ++
 net/core/filter.c                           |  1 +
 tools/testing/selftests/bpf/test_verifier.c | 50 ++++++++++++++++++++++++++++-
 3 files changed, 52 insertions(+), 1 deletion(-)
Signature · 1 line
2.9.5