Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1209455 > unrolled thread

[PATCH v2] arm64 Kconfig: Move LIST_POISON to a safe value

Started byJeff Vander Stoep <jeffv@google.com>
First post2015-08-18 22:00 +0200
Last post2015-08-19 11:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v2] arm64 Kconfig: Move LIST_POISON to a safe value Jeff Vander Stoep <jeffv@google.com> - 2015-08-18 22:00 +0200
    Re: [PATCH v2] arm64 Kconfig: Move LIST_POISON to a safe value Catalin Marinas <catalin.marinas@arm.com> - 2015-08-19 11:20 +0200

#1209455 — [PATCH v2] arm64 Kconfig: Move LIST_POISON to a safe value

FromJeff Vander Stoep <jeffv@google.com>
Date2015-08-18 22:00 +0200
Subject[PATCH v2] arm64 Kconfig: Move LIST_POISON to a safe value
Message-ID<pYVd8-7KG-23@gated-at.bofh.it>
Move the poison pointer offset to 0xdead000000000000, a
recognized value that is not mappable by user-space exploits.

Signed-off-by: Thierry Strudel <tstrudel@google.com>
Signed-off-by: Jeff Vander Stoep <jeffv@google.com>
---
v2 removes an extra newline.

 arch/arm64/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 318175f..8f1789c 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -104,6 +104,10 @@ config NO_IOPORT_MAP
 config STACKTRACE_SUPPORT
 	def_bool y
 
+config ILLEGAL_POINTER_VALUE
+	hex
+	default 0xdead000000000000
+
 config LOCKDEP_SUPPORT
 	def_bool y
 
-- 
2.5.0.276.gf5e568e

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1209730

FromCatalin Marinas <catalin.marinas@arm.com>
Date2015-08-19 11:20 +0200
Message-ID<pZ7Hk-1AV-21@gated-at.bofh.it>
In reply to#1209455
On Tue, Aug 18, 2015 at 12:50:10PM -0700, Jeff Vander Stoep wrote:
> Move the poison pointer offset to 0xdead000000000000, a
> recognized value that is not mappable by user-space exploits.
> 
> Signed-off-by: Thierry Strudel <tstrudel@google.com>
> Signed-off-by: Jeff Vander Stoep <jeffv@google.com>
> ---

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web