Accepting request 1243229 from security

- add 62-sim-arch_transactions-remove-fuzzer.patch to fix s390x build
  (https://github.com/seccomp/libseccomp/issues/455)

OBS-URL: https://build.opensuse.org/request/show/1243229
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libseccomp?expand=0&rev=41
This commit is contained in:
Ana Guerrero 2025-02-07 21:57:34 +00:00 committed by Git OBS Bridge
commit 60b62c5f59
5 changed files with 44 additions and 3 deletions

View File

@ -0,0 +1,34 @@
From 2f0f3b0e9121720108431c5d054164016f476230 Mon Sep 17 00:00:00 2001
From: Paul Moore <paul@paul-moore.com>
Date: Sat, 25 Jan 2025 11:12:55 -0500
Subject: [PATCH] tests: remove the fuzzer from test 62-sim-arch_transactions
We can't reliably run the bpf-sim-fuzz tests on tests which manipulate
the filters arch/ABIs unless the filter is safe to run on all arch/ABIs,
which is more or less impossible. Remove the bpf-sim-fuzz test section
in test #62 to work around this, just as we do with the other similar
tests.
Signed-off-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
(cherry picked from commit 7db46d72f13c172b290818f624c2966bd0db5677)
---
tests/62-sim-arch_transactions.tests | 5 -----
1 file changed, 5 deletions(-)
diff --git a/tests/62-sim-arch_transactions.tests b/tests/62-sim-arch_transactions.tests
index 4b23213e..aac6db24 100644
--- a/tests/62-sim-arch_transactions.tests
+++ b/tests/62-sim-arch_transactions.tests
@@ -14,11 +14,6 @@ test type: bpf-sim
62-sim-arch_transactions +x86_64 open N N N N N N KILL
62-sim-arch_transactions +x86_64 close N N N N N N ALLOW
-test type: bpf-sim-fuzz
-
-# Testname StressCount
-62-sim-arch_transactions 5
-
test type: bpf-valgrind
# Testname

View File

@ -1,4 +1,4 @@
mtime: 1737701013
commit: 9b123afc16bcd0ef100b489a9e2dbb2d4f55798b05f4718f286b8da6c71d271d
mtime: 1738707363
commit: 6bbc789a678c169df6ac5c6132fec9b5a4f3d02f0681f8fd215428ca4815d900
url: https://src.opensuse.org/jengelh/libseccomp
revision: master

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:401cb99a97c31f05c3fb0bd480baf2fa4dc275b81583f91f0073b392aca1d2e0
oid sha256:1eb5d9f15312e04f84a63136d57af439d8a58a1c43cab935dc3b31f000b47327
size 256

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Feb 4 22:11:41 UTC 2025 - Christian Boltz <suse-beta@cboltz.de>
- add 62-sim-arch_transactions-remove-fuzzer.patch to fix s390x build
(https://github.com/seccomp/libseccomp/issues/455)
-------------------------------------------------------------------
Fri Jan 24 01:01:28 UTC 2025 - Jan Engelhardt <jengelh@inai.de>

View File

@ -38,6 +38,7 @@ Source2: https://github.com/seccomp/libseccomp/releases/download/v%versio
Source3: %pname.keyring
Source99: baselibs.conf
Patch1: make-python-build.patch
Patch2: 62-sim-arch_transactions-remove-fuzzer.patch
BuildRequires: autoconf
BuildRequires: automake >= 1.11
BuildRequires: fdupes