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

From: Kees Cook

Date: Mon Oct 05 2026 - 06:05:49 EST


On Sat, Oct 03, 2026 at 04:50:50AM +0000, bot+bpf-ci@xxxxxxxxxx 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