Thread (45 messages) 45 messages, 15 authors, 2025-04-26

Re: [PATCH v4 00/14] Add support for suppressing warning backtraces

From: Kees Cook <kees@kernel.org>
Date: 2025-03-13 17:17:53
Also in: dri-devel, linux-arch, linux-arm-kernel, linux-doc, linux-kselftest, linux-riscv, linux-s390, linux-sh, lkml, loongarch

On Thu, Mar 13, 2025 at 11:43:15AM +0000, Alessandro Carminati wrote:
Some unit tests intentionally trigger warning backtraces by passing bad
parameters to kernel API functions. Such unit tests typically check the
return value from such calls, not the existence of the warning backtrace.
Thanks for picking this series back up! I honestly thought this had
already landed. :)
With CONFIG_KUNIT enabled, image size increase with this series applied is
approximately 1%. The image size increase (and with it the functionality
introduced by this series) can be avoided by disabling
CONFIG_KUNIT_SUPPRESS_BACKTRACE.
Yeah, as with my prior review, I'm a fan of this. It makes a bunch of my
very noisy tests much easier to deal with.

-Kees

-- 
Kees Cook
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help