arm64 Kconfig: Move LIST_POISON to a safe value
authorJeff Vander Stoep <jeffv@google.com>
Tue, 18 Aug 2015 18:15:53 +0000 (11:15 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:54:05 +0000 (13:54 -0800)
Move the poison pointer offset to 0xdead000000000000, a
recognized value that is not mappable by user-space exploits.

Change-Id: I558441a26a7c8390aa087f32c4cbe980de8c8ce3
Signed-off-by: Thierry Strudel <tstrudel@google.com>
Signed-off-by: Jeff Vander Stoep <jeffv@google.com>
arch/arm64/Kconfig

index 871f21783866d5fdb1557ec56e5f13b602ba331a..a3a8ac3043603ecafba0b5d81cf98a55921ab080 100644 (file)
@@ -107,6 +107,10 @@ config MMU
 config NO_IOPORT_MAP
        def_bool y if !PCI
 
+config ILLEGAL_POINTER_VALUE
+       hex
+       default 0xdead000000000000
+
 config STACKTRACE_SUPPORT
        def_bool y