[PATCH] lkdtm/stackleak: fix CONFIG_GCC_PLUGIN_STACKLEAK=n

Kees Cook keescook at chromium.org
Fri May 6 13:33:59 PDT 2022


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




More information about the linux-arm-kernel mailing list