ARM: decompressor: disable stack protector
authorArd Biesheuvel <ardb@kernel.org>
Tue, 26 Oct 2021 08:23:31 +0000 (10:23 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Fri, 3 Dec 2021 14:11:24 +0000 (15:11 +0100)
commit672513bf583157cc088a32e75bd850dd9f81564c
tree616ae2a0cde52f4c405b581a83f4785475f943c5
parentfa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf
ARM: decompressor: disable stack protector

Enabling the stack protector in the decompressor is of dubious value,
given that it uses a fixed value for the canary, cannot print any output
unless CONFIG_DEBUG_LL is enabled (which relies on board specific build
time settings), and is already disabled for a good chunk of the code
(libfdt).

So let's just disable it in the decompressor. This will make it easier
in the future to manage the command line options that would need to be
removed again in this context for the TLS register based stack
protector.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/arm/boot/compressed/Makefile
arch/arm/boot/compressed/misc.c