arm64: kconfig: Move LIST_POISON to a safe value
authorJeff Vander Stoep <jeffv@google.com>
Tue, 18 Aug 2015 19:50:10 +0000 (20:50 +0100)
committerJiri Slaby <jslaby@suse.cz>
Wed, 30 Sep 2015 09:00:02 +0000 (11:00 +0200)
commit bf0c4e04732479f650ff59d1ee82de761c0071f0 upstream.

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

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Thierry Strudel <tstrudel@google.com>
Signed-off-by: Jeff Vander Stoep <jeffv@google.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
arch/arm64/Kconfig

index fe70eaea0e28b43301704fac7784460b9e2282d1..b07f9f356b87f3c8276ec92c4a45a34e33831ee3 100644 (file)
@@ -56,6 +56,10 @@ config NO_IOPORT
 config STACKTRACE_SUPPORT
        def_bool y
 
+config ILLEGAL_POINTER_VALUE
+       hex
+       default 0xdead000000000000
+
 config LOCKDEP_SUPPORT
        def_bool y