mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
![Masahiro Yamada](/assets/img/avatar_default.png)
Prior to commit 2a61f4747e
("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>
12 lines
347 B
Text
12 lines
347 B
Text
# CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE is not set
|
|
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
|
|
# CONFIG_KERNEL_GZIP is not set
|
|
# CONFIG_KERNEL_BZIP2 is not set
|
|
# CONFIG_KERNEL_LZMA is not set
|
|
CONFIG_KERNEL_XZ=y
|
|
# CONFIG_KERNEL_LZO is not set
|
|
# CONFIG_KERNEL_LZ4 is not set
|
|
CONFIG_OPTIMIZE_INLINING=y
|
|
# CONFIG_SLAB is not set
|
|
# CONFIG_SLUB is not set
|
|
CONFIG_SLOB=y
|