From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F1C36139355 for ; Mon, 2 Aug 2021 22:34:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5663FE08FF; Mon, 2 Aug 2021 22:34:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 21942E08FF for ; Mon, 2 Aug 2021 22:34:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2CDF2342ACA for ; Mon, 2 Aug 2021 22:34:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A67C47DC for ; Mon, 2 Aug 2021 22:34:44 +0000 (UTC) From: "Mike Pagano" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Pagano" Message-ID: <1627943663.c72d1d6b55f7eb2d23edd4578a0f1f0a9490c35b.mpagano@gentoo> Subject: [gentoo-commits] proj/linux-patches:5.13 commit in: / X-VCS-Repository: proj/linux-patches X-VCS-Files: 4567_distro-Gentoo-Kconfig.patch X-VCS-Directories: / X-VCS-Committer: mpagano X-VCS-Committer-Name: Mike Pagano X-VCS-Revision: c72d1d6b55f7eb2d23edd4578a0f1f0a9490c35b X-VCS-Branch: 5.13 Date: Mon, 2 Aug 2021 22:34:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: de8d0845-5407-45df-8eac-ad1a223a4287 X-Archives-Hash: 2834ab6b77d5e96cfbba788f1870d7e5 commit: c72d1d6b55f7eb2d23edd4578a0f1f0a9490c35b Author: Mike Pagano gentoo org> AuthorDate: Mon Aug 2 22:27:34 2021 +0000 Commit: Mike Pagano gentoo org> CommitDate: Mon Aug 2 22:34:23 2021 +0000 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=c72d1d6b Select SECCOMP options only if supported Thanks to Matt Turner for this patch Some architectures (e.g., alpha, sparc) do not support SECCOMP. Without this kernel builds will show: WARNING: unmet direct dependencies detected for SECCOMP Depends on [n]: HAVE_ARCH_SECCOMP [=n] Selected by [y]: - GENTOO_LINUX_INIT_SYSTEMD [=y] && GENTOO_LINUX [=y] && GENTOO_LINUX_UDEV [=y] WARNING: unmet direct dependencies detected for SECCOMP_FILTER Depends on [n]: HAVE_ARCH_SECCOMP_FILTER [=n] && SECCOMP [=y] && NET [=y] Selected by [y]: - GENTOO_LINUX_INIT_SYSTEMD [=y] && GENTOO_LINUX [=y] && GENTOO_LINUX_UDEV [=y] Signed-off-by: Matt Turner gentoo.org> Signed-off-by: Mike Pagano gentoo.org> 4567_distro-Gentoo-Kconfig.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/4567_distro-Gentoo-Kconfig.patch b/4567_distro-Gentoo-Kconfig.patch index c063c6d..f875dba 100644 --- a/4567_distro-Gentoo-Kconfig.patch +++ b/4567_distro-Gentoo-Kconfig.patch @@ -138,8 +138,8 @@ + select NET + select NET_NS + select PROC_FS -+ select SECCOMP -+ select SECCOMP_FILTER ++ select SECCOMP if HAVE_ARCH_SECCOMP ++ select SECCOMP_FILTER HAVE_ARCH_SECCOMP_FILTER + select SIGNALFD + select SYSFS + select TIMERFD @@ -188,8 +188,8 @@ + select DEBUG_SG + select BUG_ON_DATA_CORRUPTION + select SCHED_STACK_END_CHECK -+ select SECCOMP -+ select SECCOMP_FILTER ++ select SECCOMP if HAVE_ARCH_SECCOMP ++ select SECCOMP_FILTER HAVE_ARCH_SECCOMP_FILTER + select SECURITY_YAMA + select SLAB_FREELIST_RANDOM + select SLAB_FREELIST_HARDENED