summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2021-08-03 08:50:37 -0400
committerMike Pagano <mpagano@gentoo.org>2021-08-03 08:50:37 -0400
commit4db5a82a31995fe97921032b2b269052b239f36c (patch)
tree0f0e414abfb43864c4b0f396cce2f773659d7ba9
parentLinux patch 4.4.277 (diff)
downloadlinux-patches-4db5a82a31995fe97921032b2b269052b239f36c.tar.gz
linux-patches-4db5a82a31995fe97921032b2b269052b239f36c.tar.bz2
linux-patches-4db5a82a31995fe97921032b2b269052b239f36c.zip
Select SECCOMP options only if supported
Thanks to Matt Turner Signed-off-by: Mike Pagano <mpagano@gentoo.org>
-rw-r--r--4567_distro-Gentoo-Kconfig.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/4567_distro-Gentoo-Kconfig.patch b/4567_distro-Gentoo-Kconfig.patch
index 463cda00..94f5cdee 100644
--- a/4567_distro-Gentoo-Kconfig.patch
+++ b/4567_distro-Gentoo-Kconfig.patch
@@ -139,8 +139,8 @@
+ select NET
+ select NET_NS
+ select PROC_FS
-+ select SECCOMP
-+ select SECCOMP_FILTER
++ select SECCOMP if HAVE_ARCH_SECCOMP
++ select SECCOMP_FILTER if HAVE_ARCH_SECCOMP_FILTER
+ select SIGNALFD
+ select SYSFS
+ select TIMERFD