Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

kconfig: tinyconfig: remove stale stack protector fixups

Prior to commit 2a61f4747eea ("stack-protector: test compiler capability
in Kconfig and drop AUTO mode"), the stack protector was configured by
the choice of NONE, REGULAR, STRONG, AUTO.

tiny.config needed to explicitly set NONE because the default value of
choice, AUTO, did not produce the tiniest kernel.

Now that there are only two boolean symbols, STACKPROTECTOR and
STACKPROTECTOR_STRONG, they are naturally disabled by "make
allnoconfig", which "make tinyconfig" is based on. Remove unnecessary
lines from the tiny.config fragment file.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Masahiro Yamada and committed by
Linus Torvalds
a0f8c297 8458f8c2

-4
-4
kernel/configs/tiny.config
··· 10 10 # CONFIG_SLAB is not set 11 11 # CONFIG_SLUB is not set 12 12 CONFIG_SLOB=y 13 - CONFIG_CC_STACKPROTECTOR_NONE=y 14 - # CONFIG_CC_STACKPROTECTOR_REGULAR is not set 15 - # CONFIG_CC_STACKPROTECTOR_STRONG is not set 16 - # CONFIG_CC_STACKPROTECTOR_AUTO is not set