Searched hist:"672513 bf583157cc088a32e75bd850dd9f81564c" (Results 1 – 2 of 2) sorted by relevance
/linux/arch/arm/boot/compressed/ |
H A D | misc.c | diff 672513bf583157cc088a32e75bd850dd9f81564c Tue Oct 26 10:23:31 CEST 2021 Ard Biesheuvel <ardb@kernel.org> 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>
|
H A D | Makefile | diff 672513bf583157cc088a32e75bd850dd9f81564c Tue Oct 26 10:23:31 CEST 2021 Ard Biesheuvel <ardb@kernel.org> 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>
|