Hello community, here is the log from the commit of package libseccomp for openSUSE:Factory checked in at 2020-01-10 18:40:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libseccomp (Old) and /work/SRC/openSUSE:Factory/.libseccomp.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libseccomp" Fri Jan 10 18:40:21 2020 rev:26 rq:761662 version:2.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/libseccomp/libseccomp.changes 2020-01-01 14:56:53.445886983 +0100 +++ /work/SRC/openSUSE:Factory/.libseccomp.new.6675/libseccomp.changes 2020-01-10 18:41:36.903518571 +0100 @@ -1,0 +2,11 @@ +Tue Jan 7 15:07:23 UTC 2020 - Andreas Schwab <[email protected]> + +- Tests are passing on all architectures + +------------------------------------------------------------------- +Mon Jan 6 14:23:04 UTC 2020 - Guillaume GARDET <[email protected]> + +- Backport patch to fix test on aarch64: + * libseccomp-fix_aarch64-test.patch + +------------------------------------------------------------------- New: ---- libseccomp-fix_aarch64-test.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libseccomp.spec ++++++ --- /var/tmp/diff_new_pack.WwANDp/_old 2020-01-10 18:41:37.707518873 +0100 +++ /var/tmp/diff_new_pack.WwANDp/_new 2020-01-10 18:41:37.707518873 +0100 @@ -1,7 +1,7 @@ # # spec file for package libseccomp # -# 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 @@ -24,13 +24,13 @@ License: LGPL-2.1-only Group: Development/Libraries/C and C++ URL: https://github.com/seccomp/libseccomp - Source: https://github.com/seccomp/libseccomp/releases/download/v%version/libseccomp-%version.tar.gz # no fitting key found #Source2: https://github.com/seccomp/libseccomp/releases/download/v%version/libseccomp-%version.tar.gz.asc Source3: %name.keyring Source99: baselibs.conf Patch1: no-static.diff +Patch2: libseccomp-fix_aarch64-test.patch BuildRequires: autoconf BuildRequires: automake >= 1.11 BuildRequires: fdupes @@ -106,15 +106,7 @@ %fdupes %buildroot/%_prefix %check -# for ppc64* ref to boo#1142614 -%ifarch ppc s390 s390x i586 ppc64 ppc64le -make check || true -#pushd tests/ -#./regression -v -#popd -%else make check -%endif %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig ++++++ libseccomp-fix_aarch64-test.patch ++++++ >From 35803ceb43c453762a3ab5177c5f8d5dbb813478 Mon Sep 17 00:00:00 2001 From: Paul Moore <[email protected]> Date: Tue, 5 Nov 2019 15:11:11 -0500 Subject: [PATCH] tests: rely on __SNR_xxx instead of __NR_xxx for syscalls We recently changed how libseccomp handles syscall numbers that are not defined natively, but we missed test #15. Signed-off-by: Paul Moore <[email protected]> --- tests/15-basic-resolver.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/15-basic-resolver.c b/tests/15-basic-resolver.c index 6badef1..0c1eefe 100644 --- a/tests/15-basic-resolver.c +++ b/tests/15-basic-resolver.c @@ -55,15 +55,15 @@ int main(int argc, char *argv[]) unsigned int arch; char *name = NULL; - if (seccomp_syscall_resolve_name("open") != __NR_open) + if (seccomp_syscall_resolve_name("open") != __SNR_open) goto fail; - if (seccomp_syscall_resolve_name("read") != __NR_read) + if (seccomp_syscall_resolve_name("read") != __SNR_read) goto fail; if (seccomp_syscall_resolve_name("INVALID") != __NR_SCMP_ERROR) goto fail; rc = seccomp_syscall_resolve_name_rewrite(SCMP_ARCH_NATIVE, "openat"); - if (rc != __NR_openat) + if (rc != __SNR_openat) goto fail; while ((arch = arch_list[iter++]) != -1) {
