[PATCH 2/3] config: android: set SELinux as default security mode

From: Rob Herring
Date: Thu Sep 08 2016 - 15:00:04 EST


Android won't boot without SELinux enabled, so make it the default.

Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
---
kernel/configs/android-base.config | 1 +
1 file changed, 1 insertion(+)

diff --git a/kernel/configs/android-base.config b/kernel/configs/android-base.config
index 19eb7ac..859fa27 100644
--- a/kernel/configs/android-base.config
+++ b/kernel/configs/android-base.config
@@ -18,6 +18,7 @@ CONFIG_CGROUP_DEBUG=y
CONFIG_CGROUP_FREEZER=y
CONFIG_CGROUP_SCHED=y
CONFIG_CP15_BARRIER_EMULATION=y
+CONFIG_DEFAULT_SECURITY_SELINUX=y
CONFIG_EMBEDDED=y
CONFIG_FB=y
CONFIG_HIGH_RES_TIMERS=y
--
2.9.3