OSDN Git Service

MIPS: ZBOOT: implement stack protector in compressed boot phase
authorBen Chan <benchan@chromium.org>
Tue, 24 Jun 2014 23:00:17 +0000 (16:00 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 1 Aug 2014 22:06:46 +0000 (00:06 +0200)
commit3b628cac65fa57fe7d948b9b24b9731cab7dd44f
treeaada423e07f4484b7b4848996a802ed4eccb89f4
parent0d6b614ad75c211bdeb439b8d9f0d4dcefe082d9
MIPS: ZBOOT: implement stack protector in compressed boot phase

This patch implements the stack protector code in MIPS compressed boot
phase based on the same code added to arm in commit
8779657d29c0ebcc0c94ede4df2f497baf1b563f "stackprotector: Introduce
CONFIG_CC_STACKPROTECTOR_STRONG" by Kees Cook <keescook@chromium.org>

Signed-off-by: Ben Chan <benchan@chromium.org>
Cc: Kees Cook <keescook@chromium.org>
Cc: Olof Johansson <olofj@chromium.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/7175/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/boot/compressed/decompress.c