Skip to content

Commit fc525d6

Browse files
committed
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: 76261fc ("stackleak: Split KSTACK_ERASE_CFLAGS from GCC_PLUGINS_CFLAGS") Signed-off-by: Kees Cook <[email protected]>
1 parent ee4cf79 commit fc525d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/Makefile.kstack_erase

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ endif
1616

1717
KSTACK_ERASE_CFLAGS := $(kstack-erase-cflags-y)
1818

19-
export STACKLEAK_CFLAGS DISABLE_KSTACK_ERASE
19+
export KSTACK_ERASE_CFLAGS DISABLE_KSTACK_ERASE
2020

2121
KBUILD_CFLAGS += $(KSTACK_ERASE_CFLAGS)

0 commit comments

Comments
 (0)