summaryrefslogtreecommitdiff
path: root/lib/cordic.c
diff options
context:
space:
mode:
authorRik van Riel <riel@redhat.com>2017-07-13 00:36:29 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2017-07-13 02:26:03 +0300
commit2c8340eda45cee1784f7b29e6d7dcc740ea3d02a (patch)
treea91096df0d2df5605cb0cfa86d1e2fffecbca9a6 /lib/cordic.c
parentd21f54988bb2927341757d42152440c3abcae4eb (diff)
downloadlinux-2c8340eda45cee1784f7b29e6d7dcc740ea3d02a.tar.xz
sh64: ascii armor the sh64 boot init stack canary
Use the ascii-armor canary to prevent unterminated C string overflows from being able to successfully overwrite the canary, even if they somehow obtain the canary value. Inspired by execshield ascii-armor and Daniel Micay's linux-hardened tree. Link: http://lkml.kernel.org/r/20170524123446.78510066@annuminas.surriel.com Signed-off-by: Rik van Riel <riel@redhat.com> Acked-by: Kees Cook <keescook@chromium.org> Cc: Daniel Micay <danielmicay@gmail.com> Cc: "Theodore Ts'o" <tytso@mit.edu> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Ingo Molnar <mingo@kernel.org> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Yoshinori Sato <ysato@users.sourceforge.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/cordic.c')
0 files changed, 0 insertions, 0 deletions