diff options
| author | Daniel Borkmann <daniel@iogearbox.net> | 2022-01-10 16:44:18 +0300 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2022-01-19 03:21:49 +0300 |
| commit | 722e4db3ae0d52b2e3801280afbe19cf2d188e91 (patch) | |
| tree | 97b076a0a1cd73587d5969a88fd49c89a4df066d /scripts/gdb/linux/rbtree.py | |
| parent | a672b2e36a648afb04ad3bda93b6bda947a479a5 (diff) | |
| download | linux-722e4db3ae0d52b2e3801280afbe19cf2d188e91.tar.xz | |
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 <daniel@iogearbox.net>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/rbtree.py')
0 files changed, 0 insertions, 0 deletions
