aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2023-04-06 23:41:48 +0000
committerDaniel Borkmann <[email protected]>2023-04-11 16:05:42 +0000
commit03cc3aa6a53394481f01c16231f99298332066f9 (patch)
tree0ca2a4618d90b0155ebba87d58e4fea371626c36 /tools/lib/bpf/bpf.c
parentbpf: Split off basic BPF verifier log into separate file (diff)
downloadkernel-03cc3aa6a53394481f01c16231f99298332066f9.tar.gz
kernel-03cc3aa6a53394481f01c16231f99298332066f9.zip
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 <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Lorenz Bauer <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/bpf.c')
0 files changed, 0 insertions, 0 deletions