diff mbox

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

Message ID 20160908185934.18098-2-robh@kernel.org (mailing list archive)
State New, archived
Headers show

Commit Message

Rob Herring Sept. 8, 2016, 6:59 p.m. UTC
Android won't boot without SELinux enabled, so make it the default.

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

Comments

John Stultz Sept. 8, 2016, 7:04 p.m. UTC | #1
On Thu, Sep 8, 2016 at 11:59 AM, Rob Herring <robh@kernel.org> wrote:
> Android won't boot without SELinux enabled, so make it the default.
>
> Signed-off-by: Rob Herring <robh@kernel.org>

Acked-by: John Stultz <john.stultz@linaro.org>

thanks
-john
diff mbox

Patch

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