Skip to content

Commit 0df1a55

Browse files
pchaignoAlexei Starovoitov
authored andcommitted
bpf: Warn on internal verifier errors
This patch is a follow up to commit 1cb0f56 ("bpf: WARN_ONCE on verifier bugs"). It generalizes the use of verifier_error throughout the verifier, in particular for logs previously marked "verifier internal error". As a consequence, all of those verifier bugs will now come with a kernel warning (under CONFIG_DBEUG_KERNEL) detectable by fuzzers. While at it, some error messages that were too generic (ex., "bpf verifier is misconfigured") have been reworded. Signed-off-by: Paul Chaignon <[email protected]> Link: https://lore.kernel.org/r/aGQqnzMyeagzgkCK@Tunnel Signed-off-by: Alexei Starovoitov <[email protected]>
1 parent 26d0e53 commit 0df1a55

File tree

1 file changed

+102
-109
lines changed

1 file changed

+102
-109
lines changed

0 commit comments

Comments
 (0)