diff options
author | 2023-04-06 16:42:05 -0700 | |
---|---|---|
committer | 2023-04-11 18:05:44 +0200 | |
commit | 054b6c7866c7a2537fffd4aa12d88aac47db60f9 (patch) | |
tree | a04d8ff3fb9a1a04270e9166f56823169d702b0f /kernel/bpf/helpers.c | |
parent | selftests/bpf: Add testing of log_buf==NULL condition for BPF_PROG_LOAD (diff) | |
download | linux-rng-054b6c7866c7a2537fffd4aa12d88aac47db60f9.tar.xz linux-rng-054b6c7866c7a2537fffd4aa12d88aac47db60f9.zip |
selftests/bpf: Add verifier log tests for BPF_BTF_LOAD command
Add verifier log tests for BPF_BTF_LOAD command, which are very similar,
conceptually, to BPF_PROG_LOAD tests. These are two separate commands
dealing with verbose verifier log, so should be both tested separately.
Test that log_buf==NULL condition *does not* return -ENOSPC.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Lorenz Bauer <lmb@isovalent.com>
Link: https://lore.kernel.org/bpf/20230406234205.323208-20-andrii@kernel.org
Diffstat (limited to 'kernel/bpf/helpers.c')
0 files changed, 0 insertions, 0 deletions