aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2017-11-17 23:26:59 +0000
committerLinus Torvalds <[email protected]>2017-11-18 00:10:00 +0000
commitfb6cc4ac15c354fa1eb449f50a0dfe5f4bf0d42a (patch)
tree373d17ece75bb20567e89880301fcd6c26c3b60f /lib/dynamic_debug.c
parentspelling.txt: add "unnecessary" typo variants (diff)
downloadkernel-fb6cc4ac15c354fa1eb449f50a0dfe5f4bf0d42a.tar.gz
kernel-fb6cc4ac15c354fa1eb449f50a0dfe5f4bf0d42a.zip
sh/boot: add static stack-protector to pre-kernel
The sh decompressor code triggers stack-protector code generation when using CONFIG_CC_STACKPROTECTOR_STRONG. As done for arm and mips, add a simple static stack-protector canary. As this wasn't protected before, the risk of using a weak canary is minimized. Once the kernel is actually up, a better canary is chosen. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Kees Cook <[email protected]> Cc: Yoshinori Sato <[email protected]> Cc: Rich Felker <[email protected]> Cc: Al Viro <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Laura Abbott <[email protected]> Cc: Masahiro Yamada <[email protected]> Cc: Michal Marek <[email protected]> Cc: Nicholas Piggin <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions