linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] arm64 Kconfig: Move LIST_POISON to a safe value
@ 2015-08-18 19:50 Jeff Vander Stoep
  2015-08-19  9:13 ` Catalin Marinas
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Vander Stoep @ 2015-08-18 19:50 UTC (permalink / raw)
  To: linux-arm-kernel

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

Signed-off-by: Thierry Strudel <tstrudel@google.com>
Signed-off-by: Jeff Vander Stoep <jeffv@google.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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-19  9:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-18 19:50 [PATCH v2] arm64 Kconfig: Move LIST_POISON to a safe value Jeff Vander Stoep
2015-08-19  9:13 ` Catalin Marinas

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).