From ceb0ac628872d9d20539c802b3917225a9e50cb5 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 3 May 2018 21:10:44 +0200 Subject: core/file: removed seccomp patch and disabling seccomp completly --- core/file/PKGBUILD | 15 +++++++++++---- core/file/file-5.33-seccomp-32bit.patch | Bin 851 -> 0 bytes 2 files changed, 11 insertions(+), 4 deletions(-) delete mode 100644 core/file/file-5.33-seccomp-32bit.patch diff --git a/core/file/PKGBUILD b/core/file/PKGBUILD index ab132fd5..ba1e0f05 100644 --- a/core/file/PKGBUILD +++ b/core/file/PKGBUILD @@ -1,5 +1,12 @@ -# seccomp doesn't add rules for 64-bit filesystem function on 32-bit -# systems (e.g. fstat64) +# file doesn't add seccomp rules for 64-bit filesystem function on 32-bit +# systems (e.g. fstat64), in allmost all functions of file +# various sycalls like fork, pipe, wait4 have no ALLOW_RULE, somehow +# works on 64-bit, not on 32-bit. (-z option) +# Hence: disabling seccomp support completly! -source+=('file-5.33-seccomp-32bit.patch') -md5sums+=('5e0c3072ad745b55c8560425e6bb904c') +eval "$( + declare -f build | \ + sed ' + s/configure/configure --disable-libseccomp/ + ' +)" diff --git a/core/file/file-5.33-seccomp-32bit.patch b/core/file/file-5.33-seccomp-32bit.patch deleted file mode 100644 index 27987266..00000000 Binary files a/core/file/file-5.33-seccomp-32bit.patch and /dev/null differ -- cgit v1.2.3-54-g00ecf