bpf: increase bpf test coverage
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bpf: allow socket_filter programs to use bpf_prog_test_runkernel/ net/ | +3 | 0 replies | |
| 2/2 | selftests/bpf: make test_verifier run most programstools/ | +49 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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