diff options
| author | Daniel Borkmann <[email protected]> | 2022-01-10 13:44:18 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2022-01-19 00:21:49 +0000 |
| commit | 722e4db3ae0d52b2e3801280afbe19cf2d188e91 (patch) | |
| tree | 97b076a0a1cd73587d5969a88fd49c89a4df066d /tools/testing/selftests/bpf/prog_tests/d_path.c | |
| parent | bpf: Fix ringbuf memory type confusion when passing to helpers (diff) | |
| download | kernel-722e4db3ae0d52b2e3801280afbe19cf2d188e91.tar.gz kernel-722e4db3ae0d52b2e3801280afbe19cf2d188e91.zip | |
bpf, selftests: Add various ringbuf tests with invalid offset
Assert that the verifier is rejecting invalid offsets on the ringbuf entries:
# ./test_verifier | grep ring
#947/u ringbuf: invalid reservation offset 1 OK
#947/p ringbuf: invalid reservation offset 1 OK
#948/u ringbuf: invalid reservation offset 2 OK
#948/p ringbuf: invalid reservation offset 2 OK
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: John Fastabend <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/d_path.c')
0 files changed, 0 insertions, 0 deletions
