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


Groups > linux.kernel > #1328172

[PATCH] arm64: ubsan: select ARCH_HAS_UBSAN_SANITIZE_ALL

From Yang Shi <yang.shi@linaro.org>
Newsgroups linux.kernel
Subject [PATCH] arm64: ubsan: select ARCH_HAS_UBSAN_SANITIZE_ALL
Date 2016-02-06 01:20 +0100
Message-ID <qYYLw-7AY-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


To enable UBSAN on arm64, ARCH_HAS_UBSAN_SANITIZE_ALL need to be selected.

Basic kernel bootup test is passed on arm64 with CONFIG_UBSAN_SANITIZE_ALL
enabled.

Signed-off-by: Yang Shi <yang.shi@linaro.org>
---
 arch/arm64/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 8cc6228..1c29e20 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -14,6 +14,7 @@ config ARM64
 	select ARCH_WANT_OPTIONAL_GPIOLIB
 	select ARCH_WANT_COMPAT_IPC_PARSE_VERSION
 	select ARCH_WANT_FRAME_POINTERS
+	select ARCH_HAS_UBSAN_SANITIZE_ALL
 	select ARM_AMBA
 	select ARM_ARCH_TIMER
 	select ARM_GIC
-- 
2.0.2

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] arm64: ubsan: select ARCH_HAS_UBSAN_SANITIZE_ALL Yang Shi <yang.shi@linaro.org> - 2016-02-06 01:20 +0100
  Re: [PATCH] arm64: ubsan: select ARCH_HAS_UBSAN_SANITIZE_ALL Andrey Ryabinin <aryabinin@virtuozzo.com> - 2016-02-08 09:00 +0100
  Re: [PATCH] arm64: ubsan: select ARCH_HAS_UBSAN_SANITIZE_ALL Mark Rutland <mark.rutland@arm.com> - 2016-02-08 12:50 +0100
    Re: [PATCH] arm64: ubsan: select ARCH_HAS_UBSAN_SANITIZE_ALL "Shi, Yang" <yang.shi@linaro.org> - 2016-02-08 18:20 +0100
      Re: [PATCH] arm64: ubsan: select ARCH_HAS_UBSAN_SANITIZE_ALL Mark Rutland <mark.rutland@arm.com> - 2016-02-08 18:30 +0100
  Re: [PATCH] arm64: ubsan: select ARCH_HAS_UBSAN_SANITIZE_ALL Catalin Marinas <catalin.marinas@arm.com> - 2016-02-08 19:20 +0100

csiph-web