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


Groups > linux.kernel > #1537713 > unrolled thread

[PATCH 2/2] config: android-base: enable hardened usercopy and kernel ASLR

Started byAmit Pundir <amit.pundir@linaro.org>
First post2016-12-07 13:20 +0100
Last post2016-12-08 16:40 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/2] config: android-base: enable hardened usercopy and kernel ASLR Amit Pundir <amit.pundir@linaro.org> - 2016-12-07 13:20 +0100
    Re: [PATCH 2/2] config: android-base: enable hardened usercopy and  kernel ASLR Rob Herring <rob.herring@linaro.org> - 2016-12-08 16:40 +0100

#1537713 — [PATCH 2/2] config: android-base: enable hardened usercopy and kernel ASLR

FromAmit Pundir <amit.pundir@linaro.org>
Date2016-12-07 13:20 +0100
Subject[PATCH 2/2] config: android-base: enable hardened usercopy and kernel ASLR
Message-ID<sLJmx-8sl-7@gated-at.bofh.it>
Enable CONFIG_HARDENED_USERCOPY and CONFIG_RANDOMIZE_BASE in Android
base config fragment.

Reviewed-at: https://android-review.googlesource.com/#/c/283659/
Reviewed-at: https://android-review.googlesource.com/#/c/278133/

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
---
 kernel/configs/android-base.config | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/kernel/configs/android-base.config b/kernel/configs/android-base.config
index 1a8f34f..26a06e0 100644
--- a/kernel/configs/android-base.config
+++ b/kernel/configs/android-base.config
@@ -21,6 +21,7 @@ CONFIG_CP15_BARRIER_EMULATION=y
 CONFIG_DEFAULT_SECURITY_SELINUX=y
 CONFIG_EMBEDDED=y
 CONFIG_FB=y
+CONFIG_HARDENED_USERCOPY=y
 CONFIG_HIGH_RES_TIMERS=y
 CONFIG_INET6_AH=y
 CONFIG_INET6_ESP=y
@@ -129,6 +130,7 @@ CONFIG_PPP_DEFLATE=y
 CONFIG_PPP_MPPE=y
 CONFIG_PREEMPT=y
 CONFIG_QUOTA=y
+CONFIG_RANDOMIZE_BASE=y
 CONFIG_RTC_CLASS=y
 CONFIG_RT_GROUP_SCHED=y
 CONFIG_SECCOMP=y
-- 
2.7.4

[toc] | [next] | [standalone]


#1538626 — Re: [PATCH 2/2] config: android-base: enable hardened usercopy and kernel ASLR

FromRob Herring <rob.herring@linaro.org>
Date2016-12-08 16:40 +0100
SubjectRe: [PATCH 2/2] config: android-base: enable hardened usercopy and kernel ASLR
Message-ID<sM8XE-7OE-45@gated-at.bofh.it>
In reply to#1537713
On Wed, Dec 7, 2016 at 6:19 AM, Amit Pundir <amit.pundir@linaro.org> wrote:
> Enable CONFIG_HARDENED_USERCOPY and CONFIG_RANDOMIZE_BASE in Android
> base config fragment.

It would be good to note here if options are things Android wants
(i.e. will work without) or requires to function. These seem pretty
obvious to be the former.

Acked-by: Rob Herring <robh@kernel.org>

Rob

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web