From patchwork Thu Sep 8 18:59:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 9321951 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 934F060231 for ; Thu, 8 Sep 2016 19:01:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 893172997D for ; Thu, 8 Sep 2016 19:01:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7DADC299C4; Thu, 8 Sep 2016 19:01:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B8D9D2997D for ; Thu, 8 Sep 2016 19:01:41 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bi4YW-0001ZC-HB; Thu, 08 Sep 2016 19:00:12 +0000 Received: from mail-oi0-f66.google.com ([209.85.218.66]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bi4YH-00019W-5Q for linux-arm-kernel@lists.infradead.org; Thu, 08 Sep 2016 18:59:58 +0000 Received: by mail-oi0-f66.google.com with SMTP id y2so2158427oie.0 for ; Thu, 08 Sep 2016 11:59:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=6WPm5HWlWs1pn8SfpLTqYZxrMJQ4PPeXpFj6QVk3CUI=; b=Y7sBAYarmD7qf+jZDbUIBnQZOZYBy72CoKG/uPMuy1DnerbG/1fqBTqLou7s8/PhTg rhHSMJX54T3NIcKhOmX9tRdd9pNJsRYylTy8ywRR8jbFCBBkoRwbtSt6FMzIQXW393zv Tv6G7EbR6cbhAzRgKsjmnLMXgilB1ZyJ9l8L1jpEKEvGDSDe1S1ahAxdVVwp4pEK4psy XHgbU/TTjlhPjqNp5k5nWbU0DEv/ds1AVX7r8tAeJIw8Xh1FTsUGlGHUFoQXgRoP/Ahd LuQdicuUc0fbIqbz+1KRo5q8rzxfusNiTsWHacYWeihRf0g7ZptjQbIaCfi2fKSBZZ+R iljw== X-Gm-Message-State: AE9vXwNljRjWeMbD+G0O/xV/is0v1HKBvn+X1eWiN3ECAQIkqEGobchKnkMY550EhRoWXA== X-Received: by 10.157.57.134 with SMTP id y6mr1344985otb.94.1473361176397; Thu, 08 Sep 2016 11:59:36 -0700 (PDT) Received: from rob-hp-laptop.herring.priv (72-48-98-129.dyn.grandenetworks.net. [72.48.98.129]) by smtp.googlemail.com with ESMTPSA id p6sm14436434ota.32.2016.09.08.11.59.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Sep 2016 11:59:36 -0700 (PDT) From: Rob Herring To: Andrew Morton Subject: [PATCH 2/3] config: android: set SELinux as default security mode Date: Thu, 8 Sep 2016 13:59:33 -0500 Message-Id: <20160908185934.18098-2-robh@kernel.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160908185934.18098-1-robh@kernel.org> References: <20160908185934.18098-1-robh@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160908_115957_304508_7EC4E2E3 X-CRM114-Status: UNSURE ( 9.22 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Amit Pundir , John Stultz , Dmitry Shmidt , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Android won't boot without SELinux enabled, so make it the default. Signed-off-by: Rob Herring Acked-by: John Stultz --- 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