From patchwork Thu Sep 8 18:59:34 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: 9321955 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 13BB560231 for ; Thu, 8 Sep 2016 19:02:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 07947299B0 for ; Thu, 8 Sep 2016 19:02:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EC50D299C4; Thu, 8 Sep 2016 19:02:21 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED 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 A8E412997D for ; Thu, 8 Sep 2016 19:02:21 +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 1bi4Yi-00026j-R1; Thu, 08 Sep 2016 19:00:24 +0000 Received: from mail-oi0-f68.google.com ([209.85.218.68]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bi4YI-00019Z-1W for linux-arm-kernel@lists.infradead.org; Thu, 08 Sep 2016 18:59:58 +0000 Received: by mail-oi0-f68.google.com with SMTP id x125so3610644oia.1 for ; Thu, 08 Sep 2016 11:59:37 -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=+h8vUeZyyyYTQB1Jxs0nPsehCZZSpsvahuz+aZ7chVk=; b=kHitgBz9MNUUBJZwYJe6rECWJHL36hgF73frysxrKyu43pnI0pplwEN4A82IbK1R99 t137p8kfOBabeo5rwh/eyE0gDHGox8vYN1ye588o+/nufi7y4QG5nYnzB1e/EIIy+rv4 yib21RLCRqwdM6rBg0Ki5+BBGSj/bqScS/9nTTtMgWu3W+bBFPDEUdrv8jtkOI0H+ZCo m+n0zf19HH6W24+ywMBXk1VN2S+EHU84luiLsQbzMJ6pzrgloseTKsIykuIA9ohtkJzp Wvo/u7xp63IMxos2VlGxHF5auxLaaR6MTq3uF/fI61PQuTn68xlZmYUVrlw8qIcbCYtz 2YiA== X-Gm-Message-State: AE9vXwMRHmR24T2stiO2oYoUGXaKXaXPxe7VWsbBT8bougSk3eJhsyqzP03Xw5znwa3oAA== X-Received: by 10.202.102.6 with SMTP id a6mr1620157oic.77.1473361177168; Thu, 08 Sep 2016 11:59:37 -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.36 (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 3/3] config: android: enable CONFIG_SECCOMP Date: Thu, 8 Sep 2016 13:59:34 -0500 Message-Id: <20160908185934.18098-3-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_115958_182183_4B5E6B7A X-CRM114-Status: UNSURE ( 9.18 ) 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 As of Android N, SECCOMP is required. Without it, we will get mediaextractor error: E /system/bin/mediaextractor: libminijail: prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER): Invalid argument 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 859fa27..980e72d 100644 --- a/kernel/configs/android-base.config +++ b/kernel/configs/android-base.config @@ -132,6 +132,7 @@ CONFIG_PREEMPT=y CONFIG_QUOTA=y CONFIG_RTC_CLASS=y CONFIG_RT_GROUP_SCHED=y +CONFIG_SECCOMP=y CONFIG_SECURITY=y CONFIG_SECURITY_NETWORK=y CONFIG_SECURITY_SELINUX=y