]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
kstack_erase: Fix missed export of renamed KSTACK_ERASE_CFLAGS
authorKees Cook <kees@kernel.org>
Tue, 29 Jul 2025 23:50:48 +0000 (16:50 -0700)
committerKees Cook <kees@kernel.org>
Wed, 30 Jul 2025 00:17:46 +0000 (17:17 -0700)
commitfc525d625a22c2179877955ee87e33f532b0674c
treecdf510ea2256144ecbd7cca0cc9de404ade3f112
parentee4cf798202d285dcbe85e4467a094c44f5ed8e6
kstack_erase: Fix missed export of renamed KSTACK_ERASE_CFLAGS

Certain targets disable kstack_erase by filtering out KSTACK_ERASE_CFLAGS
rather than adding DISABLE_KSTACK_ERASE. The renaming to kstack_erase
missed the CFLAGS export, which broke those build targets (e.g. x86
vdso32).

Fixes: 76261fc7d1be ("stackleak: Split KSTACK_ERASE_CFLAGS from GCC_PLUGINS_CFLAGS")
Signed-off-by: Kees Cook <kees@kernel.org>
scripts/Makefile.kstack_erase