From patchwork Fri Aug 12 12:34:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 9276875 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 ADD2560752 for ; Fri, 12 Aug 2016 12:34:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F034289DA for ; Fri, 12 Aug 2016 12:34:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 93349289E0; Fri, 12 Aug 2016 12:34:20 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EC6E5289DA for ; Fri, 12 Aug 2016 12:34:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752772AbcHLMeS (ORCPT ); Fri, 12 Aug 2016 08:34:18 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:8815 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752175AbcHLMeS (ORCPT ); Fri, 12 Aug 2016 08:34:18 -0400 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OBS00IU2QX2BDA0@mailout2.w1.samsung.com>; Fri, 12 Aug 2016 13:34:15 +0100 (BST) X-AuditID: cbfec7f5-f792a6d000001302-e9-57adc246f533 Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id E9.B5.04866.642CDA75; Fri, 12 Aug 2016 13:34:14 +0100 (BST) Received: from AMDC2174.DIGITAL.local ([106.120.53.17]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OBS00CSAQWXEI70@eusync4.samsung.com>; Fri, 12 Aug 2016 13:34:14 +0100 (BST) From: Krzysztof Kozlowski To: Kukjin Kim , Javier Martinez Canillas , Arnd Bergmann , Olof Johansson , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Kevin Hilman , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH 1/2] ARM: exynos_defconfig: Enable SECCOMP Date: Fri, 12 Aug 2016 14:34:02 +0200 Message-id: <1471005243-6409-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprCLMWRmVeSWpSXmKPExsVy+t/xa7puh9aGGzzdZWbxd9IxdouNM9az Wrx5u4bJ4vULQ4v+x6+ZLZ5ufsxksenxNVaLy7vmsFnMOL+PyeLU9c9sDlwev39NYvTYtKqT zWPzknqPKyeaWD229N9l9+jbsorR4/MmuQD2KC6blNSczLLUIn27BK6My3eOMRcsY6vYMWs7 YwPjTtYuRk4OCQETiRmTDjFC2GISF+6tZ+ti5OIQEljKKPHw1FSwIiGBRiaJB9csQGw2AWOJ zcuXgBWJCDQzSRzasJodxGEW6GOUeNHSzgZSJSxgJdHcfZ4ZxGYRUJX4+eQr2ApeATeJ+XcX Qa2Wkzh5bDLrBEbuBYwMqxhFU0uTC4qT0nON9IoTc4tL89L1kvNzNzFCwurrDsalx6wOMQpw MCrx8HKsWBMuxJpYVlyZe4hRgoNZSYR3xYG14UK8KYmVValF+fFFpTmpxYcYpTlYlMR5Z+56 HyIkkJ5YkpqdmlqQWgSTZeLglGpgvHg1dHJsMG85376zO2Pt2J5faghYmr5uR71ZRh7n8k1X f2Ustz6eqb7a3iKn9nwf+9oVeXzb9k3M/7XSdZPHOr+jh2KTp0/+UOzoZHT+4oXwPZ41B6Ty vF92vHqaEFfcZ9mtfdtDkO+M09TAMqHwy6HWLmUWbca32V8xfKl59LdtmcxVbqUaJZbijERD Leai4kQAsUCf1ScCAAA= Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Systemd already supports seccomp. It seems some distros are building systemd with seccomp, e.g. Arch on ARM, thus leading to boot errors: systemd-logind.service: Failed at step SECCOMP spawning /usr/lib/systemd/systemd-logind: Invalid argument Signed-off-by: Krzysztof Kozlowski Reviewed-by: Javier Martinez Canillas --- arch/arm/configs/exynos_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig index 81862a77dddf..5476be3be686 100644 --- a/arch/arm/configs/exynos_defconfig +++ b/arch/arm/configs/exynos_defconfig @@ -17,6 +17,7 @@ CONFIG_PREEMPT=y CONFIG_AEABI=y CONFIG_HIGHMEM=y CONFIG_CMA=y +CONFIG_SECCOMP=y CONFIG_ZBOOT_ROM_TEXT=0x0 CONFIG_ZBOOT_ROM_BSS=0x0 CONFIG_ARM_APPENDED_DTB=y