config: android-base: enable hardened usercopy and kernel ASLR
PATCH 29/78 config: android-base: enable hardened usercopy and kernel ASLR
From: Amit Pundir <[email protected]>
Subject: config: android-base: enable hardened usercopy and kernel ASLR
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 <[email protected]>
Cc Rob Herring <[email protected]>
Cc John Stultz <[email protected]>
Cc Daniel Micay <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
kernel/configs/android-base.config | 2 ++ 1 file changed, 2 insertions(+)
kernel/configs/android-base.config renamed from kernel/configs/android-base.config~config-android-base-enable-hardened-usercopy-and-kernel-aslr +2 -0
@@ -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
_