diff options
author | Jeff Vander Stoep <jeffv@google.com> | 2015-08-18 20:50:10 +0100 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2015-09-30 11:00:02 +0200 |
commit | 584f19f33e3deb3069fd84a81822f28048f6f3be (patch) | |
tree | 4f839f69cd5fe1abb97cbc4120b659cda100c9e8 /arch | |
parent | aa21b9a683aee430dd378e82e36ddd4aab0cce4e (diff) | |
download | lwn-584f19f33e3deb3069fd84a81822f28048f6f3be.tar.gz lwn-584f19f33e3deb3069fd84a81822f28048f6f3be.zip |
arm64: kconfig: Move LIST_POISON to a safe value
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm64/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index fe70eaea0e28..b07f9f356b87 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -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 |