diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2023-04-06 16:41:48 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2023-04-11 18:05:42 +0200 |
commit | 03cc3aa6a53394481f01c16231f99298332066f9 (patch) | |
tree | 0ca2a4618d90b0155ebba87d58e4fea371626c36 /include/linux/bpf_verifier.h | |
parent | 4294a0a7ab6282c3d92f03de84e762dda993c93d (diff) |
bpf: Remove minimum size restrictions on verifier log buffer
It's not clear why we have 128 as minimum size, but it makes testing
harder and seems unnecessary, as we carefully handle truncation
scenarios and use proper snprintf variants. So remove this limitation
and just enforce positive length for log buffer.
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-3-andrii@kernel.org
Diffstat (limited to 'include/linux/bpf_verifier.h')
0 files changed, 0 insertions, 0 deletions