[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1439927410-15522-1-git-send-email-jeffv@google.com>
Date: Tue, 18 Aug 2015 12:50:10 -0700
From: Jeff Vander Stoep <jeffv@...gle.com>
To: catalin.marinas@....com
Cc: rmk@....linux.org.uk, will.deacon@....com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
nnk@...gle.com, tstrudel@...gle.com,
Jeff Vander Stoep <jeffv@...gle.com>
Subject: [PATCH v2] arm64 Kconfig: Move LIST_POISON to a safe value
Move the poison pointer offset to 0xdead000000000000, a
recognized value that is not mappable by user-space exploits.
Signed-off-by: Thierry Strudel <tstrudel@...gle.com>
Signed-off-by: Jeff Vander Stoep <jeffv@...gle.com>
---
v2 removes an extra newline.
arch/arm64/Kconfig | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 318175f..8f1789c 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -104,6 +104,10 @@ config NO_IOPORT_MAP
config STACKTRACE_SUPPORT
def_bool y
+config ILLEGAL_POINTER_VALUE
+ hex
+ default 0xdead000000000000
+
config LOCKDEP_SUPPORT
def_bool y
--
2.5.0.276.gf5e568e
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists