[PATCH v4 01/11] seq_buf: Do not print an empty line from an overflowed seq_buf_do_printk()

Kees Cook kees at kernel.org
Mon Oct 5 10:05:12 UTC 2026


On Sat, Oct 03, 2026 at 04:50:50AM +0000, bot+bpf-ci at kernel.org wrote:
> TL;DR: The new KUnit test may fail spuriously, and stop detecting the bug,
> when console_loglevel suppresses KERN_INFO (quiet, loglevel=N) or
> CONFIG_PRINTK=n, since the capture console never sees records.

That's a pointless state to handle: KUnit reports its own results at
KERN_INFO, so with a console that hides KERN_INFO, or with printk
compiled out, all of KUnit is unusable, not just this test.

-Kees

-- 
Kees Cook



More information about the Linux-security-module-archive mailing list