linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64 Kconfig: Move LIST_POISON to a safe value
@ 2015-08-18 19:29 Jeff Vander Stoep
  0 siblings, 0 replies; only message in thread
From: Jeff Vander Stoep @ 2015-08-18 19:29 UTC (permalink / raw)
  To: catalin.marinas
  Cc: rmk, will.deacon, linux-arm-kernel, linux-kernel, nnk, tstrudel,
	Jeff Vander Stoep

Move the poison pointer offset to 0xdead000000000000, a
recognized value that is not mappable by user-space exploits.

Signed-off-by: Jeff Vander Stoep <jeffv@google.com>
---
 arch/arm64/Kconfig | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 9532f8d..c003911 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -91,6 +91,11 @@ 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.rc2.392.g76e840b


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-08-18 19:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-18 19:29 [PATCH] arm64 Kconfig: Move LIST_POISON to a safe value Jeff Vander Stoep

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).