diff options
author | Paul Chaignon <paul.chaignon@gmail.com> | 2025-07-01 20:36:15 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2025-07-01 12:38:30 -0700 |
commit | 0df1a55afa832f463f9ad68ddc5de92230f1bc8a (patch) | |
tree | ce3bce94ef1e187d6849bb85a3195db412e254d3 /scripts/lib/kdoc/kdoc_files.py | |
parent | 26d0e5324677dc0acce4c0fda52316154a1d689e (diff) |
bpf: Warn on internal verifier errors
This patch is a follow up to commit 1cb0f56d9618 ("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 <paul.chaignon@gmail.com>
Link: https://lore.kernel.org/r/aGQqnzMyeagzgkCK@Tunnel
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions