public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Pagano" <mpagano@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/linux-patches:5.14 commit in: /
Date: Mon,  2 Aug 2021 22:32:06 +0000 (UTC)	[thread overview]
Message-ID: <1627943498.85190f4cb73b057b99259b598c315326ac7ad218.mpagano@gentoo> (raw)

commit:     85190f4cb73b057b99259b598c315326ac7ad218
Author:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  2 22:27:34 2021 +0000
Commit:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
CommitDate: Mon Aug  2 22:31:38 2021 +0000
URL:        https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=85190f4c

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 <mattst88 <AT> gentoo.org>
Signed-off-by: Mike Pagano <mpagano <AT> 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


             reply	other threads:[~2021-08-02 22:32 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-02 22:32 Mike Pagano [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-08-18 15:03 [gentoo-commits] proj/linux-patches:5.14 commit in: / Mike Pagano
2021-08-18 15:03 Mike Pagano
2021-08-25 12:25 Mike Pagano
2021-08-25 16:24 Mike Pagano
2021-08-25 16:24 Mike Pagano
2021-08-25 16:30 Mike Pagano
2021-08-30 17:23 Mike Pagano
2021-09-03  9:15 Alice Ferrazzi
2021-09-03 11:17 Mike Pagano
2021-09-03 11:52 Mike Pagano
2021-09-08 12:39 Alice Ferrazzi
2021-09-12 14:36 Mike Pagano
2021-09-14 15:37 Mike Pagano
2021-09-15 11:58 Mike Pagano
2021-09-16 11:03 Mike Pagano
2021-09-17 12:40 Mike Pagano
2021-09-17 12:48 Mike Pagano
2021-09-18 16:06 Mike Pagano
2021-09-20 22:01 Mike Pagano
2021-09-22 11:37 Mike Pagano
2021-09-26 14:11 Mike Pagano
2021-09-30 10:48 Mike Pagano
2021-10-03 19:14 Mike Pagano
2021-10-07 10:36 Mike Pagano
2021-10-09 21:30 Mike Pagano
2021-10-13 16:15 Alice Ferrazzi
2021-10-17 13:10 Mike Pagano
2021-10-18 21:17 Mike Pagano
2021-10-20 13:22 Mike Pagano
2021-10-21 12:16 Mike Pagano
2021-10-27 11:56 Mike Pagano
2021-11-02 19:30 Mike Pagano
2021-11-06 13:41 Mike Pagano
2021-11-12 14:19 Mike Pagano
2021-11-17 11:59 Mike Pagano
2021-11-18 15:32 Mike Pagano
2021-11-19  0:18 Mike Pagano
2021-11-21 20:38 Mike Pagano
2021-11-21 21:14 Mike Pagano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1627943498.85190f4cb73b057b99259b598c315326ac7ad218.mpagano@gentoo \
    --to=mpagano@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox