summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJeff Vander Stoep <jeffv@google.com>2015-08-18 20:50:10 +0100
committerSasha Levin <sasha.levin@oracle.com>2015-10-07 10:04:46 -0400
commit698cebfe17a68a172a5513d8025c280ba5e8cf4a (patch)
tree8baa50b6d19b93fa090265bfbbb782ff9b921710 /arch
parent0e90b248e7871c8a8fc1af5e73055e2d15778a79 (diff)
arm64: kconfig: Move LIST_POISON to a safe value
[ Upstream commit bf0c4e04732479f650ff59d1ee82de761c0071f0 ] Move the poison pointer offset to 0xdead000000000000, a recognized value that is not mappable by user-space exploits. Cc: <stable@vger.kernel.org> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Thierry Strudel <tstrudel@google.com> Signed-off-by: Jeff Vander Stoep <jeffv@google.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index dc2d66cdf311..88d6f7fae840 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -91,6 +91,10 @@ config NO_IOPORT_MAP
config STACKTRACE_SUPPORT
def_bool y
+config ILLEGAL_POINTER_VALUE
+ hex
+ default 0xdead000000000000
+
config LOCKDEP_SUPPORT
def_bool y