Re: [PATCH] lkdtm/stackleak: fix CONFIG_GCC_PLUGIN_STACKLEAK=n

From: Kees Cook
Date: Fri May 06 2022 - 16:34:10 EST


On Fri, 6 May 2022 13:11:45 +0100, Mark Rutland wrote:
> Recent rework broke building LKDTM when CONFIG_GCC_PLUGIN_STACKLEAK=n.
> This patch fixes that breakage.
>
> Prior to recent stackleak rework, the LKDTM STACKLEAK_ERASING code could
> be built when the kernel was not built with stackleak support, and would
> run a test that would almost certainly fail (or pass by sheer cosmic
> coincidence), e.g.
>
> [...]

Applied to for-next/hardening, thanks!

[1/1] lkdtm/stackleak: fix CONFIG_GCC_PLUGIN_STACKLEAK=n
https://git.kernel.org/kees/c/932c12ae7963

--
Kees Cook