summaryrefslogtreecommitdiff
path: root/arch/arm64/Kconfig
diff options
context:
space:
mode:
authorLaura Abbott <lauraa@codeaurora.org>2014-06-26 02:55:03 +0400
committerCatalin Marinas <catalin.marinas@arm.com>2014-07-09 15:23:48 +0400
commitc0c264ae5112d1cdb7d37d4e208b7a7e766a7418 (patch)
tree6e9de5e48ed2b0b91e4a371d53eda59ff578a5f9 /arch/arm64/Kconfig
parent4e6f7084096c08e37f909d7b075a91b72580405f (diff)
downloadlinux-c0c264ae5112d1cdb7d37d4e208b7a7e766a7418.tar.xz
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>
Diffstat (limited to 'arch/arm64/Kconfig')
-rw-r--r--arch/arm64/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index a474de346be6..f865436096b6 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -32,6 +32,7 @@ config ARM64
select HAVE_ARCH_KGDB
select HAVE_ARCH_TRACEHOOK
select HAVE_C_RECORDMCOUNT
+ select HAVE_CC_STACKPROTECTOR
select HAVE_DEBUG_BUGVERBOSE
select HAVE_DEBUG_KMEMLEAK
select HAVE_DMA_API_DEBUG