Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1209444 > unrolled thread

[PATCH] arm64 Kconfig: Move LIST_POISON to a safe value

Started byJeff Vander Stoep <jeffv@google.com>
First post2015-08-18 21:30 +0200
Last post2015-08-18 21:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] arm64 Kconfig: Move LIST_POISON to a safe value Jeff Vander Stoep <jeffv@google.com> - 2015-08-18 21:30 +0200

#1209444 — [PATCH] arm64 Kconfig: Move LIST_POISON to a safe value

FromJeff Vander Stoep <jeffv@google.com>
Date2015-08-18 21:30 +0200
Subject[PATCH] arm64 Kconfig: Move LIST_POISON to a safe value
Message-ID<pYUK6-7cl-19@gated-at.bofh.it>
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web