Commit 0d31a194 authored by Amit Pundir's avatar Amit Pundir Committed by Linus Torvalds

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/

Link: http://lkml.kernel.org/r/1481113148-29204-2-git-send-email-amit.pundir@linaro.orgSigned-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
Cc: Rob Herring <rob.herring@linaro.org>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Daniel Micay <danielmicay@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 2d75cb59
...@@ -21,6 +21,7 @@ CONFIG_CP15_BARRIER_EMULATION=y ...@@ -21,6 +21,7 @@ CONFIG_CP15_BARRIER_EMULATION=y
CONFIG_DEFAULT_SECURITY_SELINUX=y CONFIG_DEFAULT_SECURITY_SELINUX=y
CONFIG_EMBEDDED=y CONFIG_EMBEDDED=y
CONFIG_FB=y CONFIG_FB=y
CONFIG_HARDENED_USERCOPY=y
CONFIG_HIGH_RES_TIMERS=y CONFIG_HIGH_RES_TIMERS=y
CONFIG_INET6_AH=y CONFIG_INET6_AH=y
CONFIG_INET6_ESP=y CONFIG_INET6_ESP=y
...@@ -129,6 +130,7 @@ CONFIG_PPP_DEFLATE=y ...@@ -129,6 +130,7 @@ CONFIG_PPP_DEFLATE=y
CONFIG_PPP_MPPE=y CONFIG_PPP_MPPE=y
CONFIG_PREEMPT=y CONFIG_PREEMPT=y
CONFIG_QUOTA=y CONFIG_QUOTA=y
CONFIG_RANDOMIZE_BASE=y
CONFIG_RTC_CLASS=y CONFIG_RTC_CLASS=y
CONFIG_RT_GROUP_SCHED=y CONFIG_RT_GROUP_SCHED=y
CONFIG_SECCOMP=y CONFIG_SECCOMP=y
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment