diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2022-01-12 13:39:48 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2022-01-19 01:27:03 +0100 |
commit | 37c8d4807d1b8b521b30310dce97f6695dc2c2c6 (patch) | |
tree | 338441804d596c6fa819c214b8faa5046f74aaac /crypto | |
parent | bpf, selftests: Add various ringbuf tests with invalid offset (diff) | |
download | linux-37c8d4807d1b8b521b30310dce97f6695dc2c2c6.tar.xz linux-37c8d4807d1b8b521b30310dce97f6695dc2c2c6.zip |
bpf, selftests: Add ringbuf memory type confusion test
Add two tests, one which asserts that ring buffer memory can be passed to
other helpers for populating its entry area, and another one where verifier
rejects different type of memory passed to bpf_ringbuf_submit().
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 'crypto')
0 files changed, 0 insertions, 0 deletions