arm64: Add CONFIG_CC_STACKPROTECTOR
authorLaura Abbott <lauraa@codeaurora.org>
Wed, 25 Jun 2014 22:55:03 +0000 (23:55 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 9 Jul 2014 11:23:48 +0000 (12:23 +0100)
commitc0c264ae5112d1cdb7d37d4e208b7a7e766a7418
tree6e9de5e48ed2b0b91e4a371d53eda59ff578a5f9
parent4e6f7084096c08e37f909d7b075a91b72580405f
arm64: Add CONFIG_CC_STACKPROTECTOR

arm64 currently lacks support for -fstack-protector. Add
similar functionality to arm to detect stack corruption.

Acked-by: Will Deacon <will.deacon@arm.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/Kconfig
arch/arm64/include/asm/stackprotector.h [new file with mode: 0644]
arch/arm64/kernel/process.c