From: Jeff Vander Stoep <jeffv@google.com> Date: Tue, 18 Aug 2015 19:50:10 +0000 (+0100) Subject: arm64: kconfig: Move LIST_POISON to a safe value X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bf0c4e04732479f650ff59d1ee82de761c0071f0;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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> --- 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