linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Nick Desaulniers <ndesaulniers@google.com>
To: catalin.marinas@arm.com, will.deacon@arm.com
Cc: mark.rutland@arm.com,
	Enric Balletbo i Serra <enric.balletbo@collabora.com>,
	Kees Cook <keescook@chromium.org>, Will Deacon <will@kernel.org>,
	ard.biesheuvel@linaro.org,
	Maxime Ripard <maxime.ripard@bootlin.com>,
	jeffv@google.com, Dinh Nguyen <dinguyen@kernel.org>,
	Nick Desaulniers <ndesaulniers@google.com>,
	linux-kernel@vger.kernel.org,
	Bjorn Andersson <bjorn.andersson@linaro.org>,
	Andy Gross <andy.gross@linaro.org>,
	broonie@kernel.org, Arnd Bergmann <arnd@arndb.de>,
	Jagan Teki <jagan@amarulasolutions.com>,
	samitolvanen@google.com, keescook@google.com,
	Olof Johansson <olof@lixom.net>,
	shawnguo@kernel.org, linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] arm64: defconfig: enable CONFIG_RANDOMIZE_BASE
Date: Mon, 24 Jun 2019 10:58:50 -0700	[thread overview]
Message-ID: <20190624175852.46560-1-ndesaulniers@google.com> (raw)
In-Reply-To: <20190624095749.wasjfrgcda7ygdr5@willie-the-truck>

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(+)

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
-- 
2.22.0.410.gd8fdbe21b5-goog


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2019-06-24 17:59 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-20  0:32 [PATCH] arm64: defconfig: update and enable CONFIG_RANDOMIZE_BASE Nick Desaulniers
2019-06-20  7:46 ` Will Deacon
2019-06-20  8:17   ` Ard Biesheuvel
2019-06-21 20:27     ` Nick Desaulniers
2019-06-21 20:54       ` Kees Cook
2019-06-24  9:57       ` Will Deacon
2019-06-24 10:06         ` Ard Biesheuvel
2019-06-25 15:39           ` Catalin Marinas
2019-06-25 15:42             ` Ard Biesheuvel
2019-06-25 16:03               ` Catalin Marinas
2019-06-25 16:24                 ` Ard Biesheuvel
2019-06-24 17:58         ` Nick Desaulniers [this message]
2019-06-25  7:55           ` [PATCH v2] arm64: defconfig: " Catalin Marinas
2019-06-24  9:51   ` [PATCH] arm64: defconfig: update and " Catalin Marinas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190624175852.46560-1-ndesaulniers@google.com \
    --to=ndesaulniers@google.com \
    --cc=andy.gross@linaro.org \
    --cc=ard.biesheuvel@linaro.org \
    --cc=arnd@arndb.de \
    --cc=bjorn.andersson@linaro.org \
    --cc=broonie@kernel.org \
    --cc=catalin.marinas@arm.com \
    --cc=dinguyen@kernel.org \
    --cc=enric.balletbo@collabora.com \
    --cc=jagan@amarulasolutions.com \
    --cc=jeffv@google.com \
    --cc=keescook@chromium.org \
    --cc=keescook@google.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=maxime.ripard@bootlin.com \
    --cc=olof@lixom.net \
    --cc=samitolvanen@google.com \
    --cc=shawnguo@kernel.org \
    --cc=will.deacon@arm.com \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).