diff options
author | Jeff Vander Stoep <jeffv@google.com> | 2015-08-18 21:50:10 +0200 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2015-08-19 18:10:21 +0200 |
commit | bf0c4e04732479f650ff59d1ee82de761c0071f0 (patch) | |
tree | 2450e9a6432c6c39e7bab9a16a807ed9ae963a44 /arch/arm64/Kconfig | |
parent | arm64: Add __exception_irq_entry definition for function graph (diff) | |
download | linux-bf0c4e04732479f650ff59d1ee82de761c0071f0.tar.xz linux-bf0c4e04732479f650ff59d1ee82de761c0071f0.zip |
arm64: kconfig: Move LIST_POISON to a safe value
Move the poison pointer offset to 0xdead000000000000, a
recognized value that is not mappable by user-space exploits.
Cc: <stable@vger.kernel.org>
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>
Diffstat (limited to 'arch/arm64/Kconfig')
-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 78b89fa337ee..f3d751a342f0 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -106,6 +106,10 @@ config NO_IOPORT_MAP config STACKTRACE_SUPPORT def_bool y +config ILLEGAL_POINTER_VALUE + hex + default 0xdead000000000000 + config LOCKDEP_SUPPORT def_bool y |