History log of /linux-master/tools/testing/selftests/bpf/progs/test_d_path_check_types.c
Revision Date Author Comments
# 37c8d480 11-Jan-2022 Daniel Borkmann <daniel@iogearbox.net>

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>