From 045b107f010c01a0d90c3d090199a848478347df0b133d68a12e25f90f451e3d Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Tue, 7 Jan 2020 11:24:32 +0000 Subject: [PATCH] Disable sandboxing on aarch64 OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=203 --- file.changes | 6 ++++++ file.spec | 9 +++++++-- python-magic.spec | 2 +- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/file.changes b/file.changes index 2d01df1..693c8ff 100644 --- a/file.changes +++ b/file.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jan 7 11:22:04 UTC 2020 - Dr. Werner Fink + +- Currently file command receives SIGSYS/31 with sandboxing enabled + via libseccomp + ------------------------------------------------------------------- Fri Dec 20 14:00:22 UTC 2019 - Dr. Werner Fink diff --git a/file.spec b/file.spec index 3df9bcc..06cd62c 100644 --- a/file.spec +++ b/file.spec @@ -1,7 +1,7 @@ # # spec file for package file # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -140,7 +140,12 @@ rm -f Magdir/*,v Magdir/*~ rm -f ltcf-c.sh ltconfig ltmain.sh autoreconf -fiv export CFLAGS="%{optflags} -DHOWMANY=69632 -fPIE $(pkg-config libseccomp --cflags)" -%configure --disable-silent-rules --datadir=%{_miscdir} --disable-static --enable-fsect-man5 +%configure --disable-silent-rules --datadir=%{_miscdir} \ + --disable-static \ +%ifarch aarch64 + --disable-libseccomp \ +%endif + --enable-fsect-man5 \ make %{?_smp_mflags} pkgdatadir='$(datadir)' LDFLAGS="-pie" %install diff --git a/python-magic.spec b/python-magic.spec index 637466f..e1a2e55 100644 --- a/python-magic.spec +++ b/python-magic.spec @@ -1,7 +1,7 @@ # # spec file for package python-magic # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed