]> git.baikalelectronics.ru Git - kernel.git/commit
kconfig: tinyconfig: remove stale stack protector fixups
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 14 Jun 2018 10:36:44 +0000 (19:36 +0900)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 14 Jun 2018 22:15:28 +0000 (07:15 +0900)
commit8dcaf9da1b7c269b6c816404c656ca20fec91894
tree74832376b131f4ed103604484bfd19f84f6cdaa1
parentb564d817441e6d072a8f3f76a2e4897006d28914
kconfig: tinyconfig: remove stale stack protector fixups

Prior to commit ee2502342771 ("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>
kernel/configs/tiny.config