OSDN Git Service

xtensa: enable stack protector
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 27 Mar 2017 09:44:47 +0000 (02:44 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Sun, 17 Dec 2017 06:37:07 +0000 (22:37 -0800)
commit40d1a07b333ef1f7fce11ee20b8f4281d1a75fb9
tree4855103872087025010742caa2ec0818f91f10ee
parentaa6476f76c1678d5d1087b39d3047601f0139ef0
xtensa: enable stack protector

The implementation is adopted from the ARM arch. GCC 7.3, 8 or newer is
required for building the xtensa kernel with SSP.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Documentation/features/debug/stackprotector/arch-support.txt
arch/xtensa/Kconfig
arch/xtensa/boot/lib/Makefile
arch/xtensa/include/asm/stackprotector.h [new file with mode: 0644]
arch/xtensa/kernel/asm-offsets.c
arch/xtensa/kernel/entry.S
arch/xtensa/kernel/process.c