arm64: ubsan: select ARCH_HAS_UBSAN_SANITIZE_ALL
authorYang Shi <yang.shi@linaro.org>
Fri, 5 Feb 2016 23:50:18 +0000 (15:50 -0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 16 Feb 2016 16:27:55 +0000 (16:27 +0000)
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>
Acked-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/Kconfig

index 5a1f2e47d153af12b7eebf202f79387a36a19bec..fa51ff0470c18a8aea2f3550ca4827fc30c3d46d 100644 (file)
@@ -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
This page took 0.026818 seconds and 5 git commands to generate.