arm64: defconfig: enable CONFIG_RANDOMIZE_BASE
authorNick Desaulniers <ndesaulniers@google.com>
Mon, 24 Jun 2019 17:58:50 +0000 (10:58 -0700)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 25 Jun 2019 08:33:06 +0000 (09:33 +0100)
For testing coverage and improved defense in depth, enable KASLR by
default.

Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Will Deacon <will@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Suggested-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/configs/defconfig

index 4d583514258ce57b1edcde391aba9ce0d4211b3e..a7cbf7cd84b4d7c132549c3be0fee09ef46ee254 100644 (file)
@@ -68,6 +68,7 @@ CONFIG_KEXEC=y
 CONFIG_CRASH_DUMP=y
 CONFIG_XEN=y
 CONFIG_COMPAT=y
+CONFIG_RANDOMIZE_BASE=y
 CONFIG_HIBERNATION=y
 CONFIG_WQ_POWER_EFFICIENT_DEFAULT=y
 CONFIG_ARM_CPUIDLE=y