diff mbox series

[v2] arm64: defconfig: enable CONFIG_RANDOMIZE_BASE

Message ID 20190624175852.46560-1-ndesaulniers@google.com
State Accepted
Commit 8049672bb17a53f2545fbeaa6cfbb48055f51cde
Headers show
Series [v2] arm64: defconfig: enable CONFIG_RANDOMIZE_BASE | expand

Commit Message

Nick Desaulniers June 24, 2019, 5:58 p.m. UTC
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>

---
Changes v1 -> v2:
* drop other hunks as per Olof and Will
* Collect Acks/Reviewed-by
* Add Arnd and Olof's suggested by
* rewrite commit message

 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

-- 
2.22.0.410.gd8fdbe21b5-goog

Comments

Catalin Marinas June 25, 2019, 7:55 a.m. UTC | #1
On Mon, Jun 24, 2019 at 10:58:50AM -0700, Nick Desaulniers wrote:
> 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>


Thanks. I'll queue this for 5.3.

-- 
Catalin
diff mbox series

Patch

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 4d583514258c..a7cbf7cd84b4 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -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