blob: aa11e8a62ec40182a82cf6c5a01317a15cdd00a8 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From 96753d85d8b53dd8f87b8f444892efffdbfab388 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Thu, 5 Oct 2017 14:54:17 +0300
4Subject: [PATCH] Disable libseccomp (sycall filtering mechanism)
5
6Upstream forgot to make it optional, and it is not currently used in Yocto
7
8Upstream-Status: Inappropriate [oe-core specific]
9Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
10
11---
12 configure.ac | 20 --------------------
13 1 file changed, 20 deletions(-)
14
15diff --git a/configure.ac b/configure.ac
16index 118d04f..47c8894 100644
17--- a/configure.ac
18+++ b/configure.ac
19@@ -151,26 +151,6 @@ fi
20
21 SECCOMP_PKG=""
22 enable_seccomp="no"
23-dnl Check for bubblewrap compatible platform
24-case $host_os in
25- linux*)
26- case $host_cpu in
27- alpha|ia64|m68k|sh4|sparc64)
28- enable_seccomp="no (not available on this architecture)"
29- AC_MSG_WARN("seccomp not available on this architecture")
30- ;;
31- *)
32- PKG_CHECK_MODULES(LIBSECCOMP, [libseccomp])
33- SECCOMP_PKG="libseccomp"
34- AC_DEFINE([ENABLE_SECCOMP], [1], [Define if using seccomp])
35- enable_seccomp="yes"
36- ;;
37- esac
38- AC_DEFINE_UNQUOTED(_GNU_SOURCE, 1, [Define to include GNU extensions])
39- AC_DEFINE_UNQUOTED(HAVE_BWRAP, 1, [Define to 1 if Bubblewrap support is available])
40- AC_DEFINE_UNQUOTED(INSTALL_PREFIX, "$prefix", [Path to library install prefix])
41- ;;
42-esac
43
44 dnl pkg-config dependency checks
45