1
0
forked from pool/libseccomp

Compare commits

..

No commits in common. "master" and "master" have entirely different histories.

7 changed files with 215 additions and 289 deletions

3
libseccomp-2.5.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:248a2c8a4d9b9858aa6baf52712c34afefcf9c9e94b76dce02c1c9aa25fb3375
size 642445

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEER6aPzjfH1wJP1l4RNWzmLCtSQJkFAmVqZRcACgkQNWzmLCtS
QJl/uBAAscOlFVZp22KUsqUFcDdUlT6LiWLXiQ5kArf0Df8lfP2e2eIbbwLjCjk5
AWM/8PGgP7bb/noVNGN2ODXejpEfruBqzodzHhLVG8b369TcYp9nvaIgrpfkSDK+
w45ihrHy/HiHVQg0jQLSRw/VnwN0ecA32kN6LvmvvUS4Kl1aJxxLQ0E5JBeeLZtN
+o3hoeRqT7L773e0tgzkBWZBy9JHBajOLIXdsFI0cIk0HLYuEpKPlfDkiI9td38y
vY+RX9WWMFD9XatB2waBSciR+gpf5uRGiuJ+XAIUMyvp1iFVtuKwxMb+3+N35KD7
1D2jWK2lAPb9JZAr0g+EjQryBv9kIeDa06X9I5z2xEF+Pok9R0CJuTIhlRWMp5mP
am/NkKmaw8+BRlid8FPixm5yYUj2HsH4lKoFrLBHHLoi5QNzDhj6T2c4eFTViZtE
UsGdlpnTFGZKsKsrwQiwhxhAInJCIubX2UWvqVHxXcvYU8R1kB0YFd6z4X4fhDLR
xKn2puhKFH4M0j4bhfRrczUCCb5myxCtTcFAkhT3hs56aMUtLke44eb64PToqnJp
vydzrDO9TVJLnpANQ0W19dxtLZTKvHGE3OuYFoVrkLeo9FUKlbaiLUt2L70AJAgF
hVOTH9AWw9vfnVQvkPLpG2SyeWislhSvslrxB43HsfQAwYB4dso=
=NJsM
-----END PGP SIGNATURE-----

BIN
libseccomp-2.6.0.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEES0KozwfymdVUl37v6iDy2pc3iXMFAmeS4TcACgkQ6iDy2pc3
iXMTLxAAiEsP2LsPqc2dlYrFgFXI9IZ8kBg8M7U5S1VhENYGzelwU7S4uvzq0rpE
nL3Fd9DpDUxPyitoswLpHxNv/WB/XCyvB/B/W2Kt658/LPy2La2Db7Z05/3OuN3i
Vzf7MpYZ800FzhS5U+95iLZwIJh0La/9D9IyiN+uhWnopK2dgs+ttbMBF8PJsYVn
yY48uat9D8edYqNSKqziNFdydhQkVu/UQy0Mgwkn6W+NohMsRVLgnO2N8IjkHpvk
ljDCV7Zxw98+K+h5WUfEpXZpK+AlSokOAqlQVta+ONekhSpYoTCEvykqBnLVecLK
0cBuD8rtj/m2bifx5ft40l9lzmCR0bn/cPENUwvOnHTnvGmUfN19TacJf7JUxSYn
sStoPnCFsEhOUa5lZb0uggLe3eGBV5LlkOdPRfrx1SovyzPCzxoz7Pnl8315+ips
vSix5SYSI8VoFngG44v42xZxnQ/rvbISLgRHIOf5KIQgG/Eu2E/yg0DZTmJhRc+E
1F6RFrv38XYOMHggwMdCzf5bf/ZRYnhOT1oYA8+hmXEbPzzWqSevaDauZdikODER
MiW2TqXZnYnJr6vprzyP9yWKGf+7XQrdCvIViU/pcvwbhNv2RC0hYP1xiGXWqtQ6
ubVCPBblcDY4SvZm7wuJiMSK8dyAJUY5bniUBuE0WDK/rdods6s=
=NIvo
-----END PGP SIGNATURE-----

View File

@ -1,16 +1,3 @@
-------------------------------------------------------------------
Fri Jan 24 01:01:28 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2.6.0
* Multiplexed syscall support for ppc
* Add support for the SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV flag
* Add support for transactions with the
seccomp_transaction_start(), seccomp_transaction_commit(), and
seccomp_transaction_reject() APIs
* Add support for binary tree filters without syscalls
* Add support for the kernels implementation change of
SECCOMP_IOCTL_NOTIF_ID_VALID
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Dec 2 05:44:10 UTC 2023 - Jan Engelhardt <jengelh@inai.de> Sat Dec 2 05:44:10 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python3-seccomp # spec file for package python3-seccomp
# #
# Copyright (c) 2025 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,9 +18,9 @@
%global pname libseccomp %global pname libseccomp
%global lname libseccomp2 %global lname libseccomp2
%global flavor @BUILD_FLAVOR@%nil %global flavor @BUILD_FLAVOR@%{nil}
%if "%flavor" == "python3" %if "%{flavor}" == "python3"
Name: python3-seccomp Name: python3-seccomp
Summary: Python 3 bindings for seccomp Summary: Python 3 bindings for seccomp
Group: Development/Tools/Debuggers Group: Development/Tools/Debuggers
@ -29,7 +29,7 @@ Name: libseccomp
Summary: A Seccomp (mode 2) helper library Summary: A Seccomp (mode 2) helper library
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
%endif %endif
Version: 2.6.0 Version: 2.5.5
Release: 0 Release: 0
License: LGPL-2.1-only License: LGPL-2.1-only
URL: https://github.com/seccomp/libseccomp URL: https://github.com/seccomp/libseccomp
@ -43,10 +43,9 @@ BuildRequires: automake >= 1.11
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: libtool >= 2 BuildRequires: libtool >= 2
BuildRequires: pkgconfig BuildRequires: pkgconfig
%if "%flavor" == "python3" %if "%{flavor}" == "python3"
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: python3-Cython >= 0.29 BuildRequires: python3-Cython >= 0.29
BuildRequires: python3-setuptools
%endif %endif
%description %description
@ -55,7 +54,7 @@ syscall filtering mechanism, seccomp. The libseccomp API abstracts
away the underlying BPF-based syscall filter language and presents a away the underlying BPF-based syscall filter language and presents a
more conventional function-call based filtering interface. more conventional function-call based filtering interface.
%if "%flavor" == "python3" %if "%{flavor}" == "python3"
This subpackage contains the python3 bindings for seccomp. This subpackage contains the python3 bindings for seccomp.
%endif %endif
@ -93,7 +92,7 @@ syscall filtering mechanism, seccomp.
This subpackage contains debug utilities for the seccomp interface. This subpackage contains debug utilities for the seccomp interface.
%prep %prep
%autosetup -p1 -n %pname-%version %autosetup -p1 -n %{pname}-%{version}
%if 0%{?qemu_user_space_build} %if 0%{?qemu_user_space_build}
# The qemu linux-user emulation does not allow executing # The qemu linux-user emulation does not allow executing
@ -106,7 +105,7 @@ echo 'int main () { return 0; }' >tests/52-basic-load.c
autoreconf -fiv autoreconf -fiv
%configure \ %configure \
--includedir="%_includedir/%pname" \ --includedir="%_includedir/%pname" \
%if "%flavor" == "python3" %if "%{flavor}" == "python3"
--enable-python \ --enable-python \
%endif %endif
--disable-static \ --disable-static \
@ -118,7 +117,7 @@ autoreconf -fiv
%make_install %make_install
find "%buildroot/%_libdir" -type f -name "*.la" -delete find "%buildroot/%_libdir" -type f -name "*.la" -delete
rm -fv %buildroot/%python3_sitearch/install_files.txt rm -fv %buildroot/%python3_sitearch/install_files.txt
%if "%flavor" == "python3" %if "%{flavor}" == "python3"
rm %buildroot/%_libdir/%pname.so* rm %buildroot/%_libdir/%pname.so*
rm -r %buildroot/%_mandir/ rm -r %buildroot/%_mandir/
rm -r %buildroot/%_includedir/%pname/ rm -r %buildroot/%_includedir/%pname/
@ -127,17 +126,17 @@ rm -r %buildroot/%_bindir/
%endif %endif
%fdupes %buildroot/%_prefix %fdupes %buildroot/%_prefix
%if "%flavor" != "python3"
%check %check
export LD_LIBRARY_PATH="$PWD/src/.libs" export LD_LIBRARY_PATH="$PWD/src/.libs"
make check make check
%endif
%ldconfig_scriptlets -n %lname %post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%if "%flavor" == "python3" %if "%{flavor}" == "python3"
%files %files
%python3_sitearch/seccomp* %python3_sitearch/seccomp-%version-py*.egg-info
%python3_sitearch/seccomp.cpython*.so
%else %else
%files -n %lname %files -n %lname

View File

@ -1,647 +1,587 @@
--- Index: libseccomp-2.5.2/src/python/setup.py
src/python/setup.py | 4 ++--
tests/01-sim-allow.py | 2 +-
tests/02-sim-basic.py | 2 +-
tests/03-sim-basic_chains.py | 2 +-
tests/04-sim-multilevel_chains.py | 2 +-
tests/05-sim-long_jumps.py | 2 +-
tests/06-sim-actions.py | 2 +-
tests/07-sim-db_bug_looping.py | 2 +-
tests/08-sim-subtree_checks.py | 2 +-
tests/09-sim-syscall_priority_pre.py | 2 +-
tests/10-sim-syscall_priority_post.py | 2 +-
tests/11-basic-basic_errors.py | 2 +-
tests/12-sim-basic_masked_ops.py | 2 +-
tests/13-basic-attrs.py | 2 +-
tests/14-sim-reset.py | 2 +-
tests/15-basic-resolver.py | 2 +-
tests/16-sim-arch_basic.py | 2 +-
tests/17-sim-arch_merge.py | 2 +-
tests/18-sim-basic_allowlist.py | 2 +-
tests/19-sim-missing_syscalls.py | 2 +-
tests/20-live-basic_die.py | 2 +-
tests/21-live-basic_allow.py | 2 +-
tests/22-sim-basic_chains_array.py | 2 +-
tests/23-sim-arch_all_le_basic.py | 2 +-
tests/24-live-arg_allow.py | 2 +-
tests/25-sim-multilevel_chains_adv.py | 2 +-
tests/26-sim-arch_all_be_basic.py | 2 +-
tests/27-sim-bpf_blk_state.py | 2 +-
tests/28-sim-arch_x86.py | 2 +-
tests/29-sim-pseudo_syscall.py | 2 +-
tests/30-sim-socket_syscalls.py | 2 +-
tests/31-basic-version_check.py | 2 +-
tests/32-live-tsync_allow.py | 2 +-
tests/33-sim-socket_syscalls_be.py | 2 +-
tests/34-sim-basic_denylist.py | 2 +-
tests/35-sim-negative_one.py | 2 +-
tests/36-sim-ipc_syscalls.py | 2 +-
tests/37-sim-ipc_syscalls_be.py | 2 +-
tests/39-basic-api_level.py | 2 +-
tests/40-sim-log.py | 2 +-
tests/41-sim-syscall_priority_arch.py | 2 +-
tests/42-sim-adv_chains.py | 2 +-
tests/43-sim-a2_order.py | 2 +-
tests/44-live-a2_order.py | 2 +-
tests/45-sim-chain_code_coverage.py | 2 +-
tests/46-sim-kill_process.py | 2 +-
tests/47-live-kill_process.py | 2 +-
tests/48-sim-32b_args.py | 2 +-
tests/49-sim-64b_comparisons.py | 2 +-
tests/50-sim-hash_collision.py | 2 +-
tests/51-live-user_notification.py | 2 +-
tests/52-basic-load.py | 2 +-
tests/53-sim-binary_tree.py | 2 +-
tests/54-live-binary_tree.py | 2 +-
tests/56-basic-iterate_syscalls.py | 2 +-
tests/57-basic-rawsysrc.py | 2 +-
tests/58-live-tsync_notify.py | 2 +-
tests/regression | 4 ++--
58 files changed, 60 insertions(+), 60 deletions(-)
Index: libseccomp-2.6.0/src/python/setup.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/src/python/setup.py --- libseccomp-2.5.2.orig/src/python/setup.py
+++ libseccomp-2.6.0/src/python/setup.py +++ libseccomp-2.5.2/src/python/setup.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Enhanced Seccomp Library Python Module Build Script # Enhanced Seccomp Library Python Module Build Script
@@ -40,6 +40,6 @@ setup( @@ -41,7 +41,7 @@ setup(
ext_modules = cythonize([ ext_modules = [
Extension("seccomp", ["seccomp.pyx"], Extension("seccomp", ["seccomp.pyx"],
# unable to handle libtool libraries directly # unable to handle libtool libraries directly
- extra_objects=["../.libs/libseccomp.a"]), - extra_objects=["../.libs/libseccomp.a"],
+ extra_objects=["../.libs/libseccomp.so"]), + extra_objects=["../.libs/libseccomp.so"],
]) # fix build warnings, see PEP 3123
) extra_compile_args=["-fno-strict-aliasing"])
Index: libseccomp-2.6.0/tests/01-sim-allow.py ]
Index: libseccomp-2.5.2/tests/01-sim-allow.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/01-sim-allow.py --- libseccomp-2.5.2.orig/tests/01-sim-allow.py
+++ libseccomp-2.6.0/tests/01-sim-allow.py +++ libseccomp-2.5.2/tests/01-sim-allow.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/02-sim-basic.py Index: libseccomp-2.5.2/tests/02-sim-basic.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/02-sim-basic.py --- libseccomp-2.5.2.orig/tests/02-sim-basic.py
+++ libseccomp-2.6.0/tests/02-sim-basic.py +++ libseccomp-2.5.2/tests/02-sim-basic.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/03-sim-basic_chains.py Index: libseccomp-2.5.2/tests/03-sim-basic_chains.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/03-sim-basic_chains.py --- libseccomp-2.5.2.orig/tests/03-sim-basic_chains.py
+++ libseccomp-2.6.0/tests/03-sim-basic_chains.py +++ libseccomp-2.5.2/tests/03-sim-basic_chains.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/04-sim-multilevel_chains.py Index: libseccomp-2.5.2/tests/04-sim-multilevel_chains.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/04-sim-multilevel_chains.py --- libseccomp-2.5.2.orig/tests/04-sim-multilevel_chains.py
+++ libseccomp-2.6.0/tests/04-sim-multilevel_chains.py +++ libseccomp-2.5.2/tests/04-sim-multilevel_chains.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/05-sim-long_jumps.py Index: libseccomp-2.5.2/tests/05-sim-long_jumps.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/05-sim-long_jumps.py --- libseccomp-2.5.2.orig/tests/05-sim-long_jumps.py
+++ libseccomp-2.6.0/tests/05-sim-long_jumps.py +++ libseccomp-2.5.2/tests/05-sim-long_jumps.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/06-sim-actions.py Index: libseccomp-2.5.2/tests/06-sim-actions.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/06-sim-actions.py --- libseccomp-2.5.2.orig/tests/06-sim-actions.py
+++ libseccomp-2.6.0/tests/06-sim-actions.py +++ libseccomp-2.5.2/tests/06-sim-actions.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/07-sim-db_bug_looping.py Index: libseccomp-2.5.2/tests/07-sim-db_bug_looping.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/07-sim-db_bug_looping.py --- libseccomp-2.5.2.orig/tests/07-sim-db_bug_looping.py
+++ libseccomp-2.6.0/tests/07-sim-db_bug_looping.py +++ libseccomp-2.5.2/tests/07-sim-db_bug_looping.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/08-sim-subtree_checks.py Index: libseccomp-2.5.2/tests/08-sim-subtree_checks.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/08-sim-subtree_checks.py --- libseccomp-2.5.2.orig/tests/08-sim-subtree_checks.py
+++ libseccomp-2.6.0/tests/08-sim-subtree_checks.py +++ libseccomp-2.5.2/tests/08-sim-subtree_checks.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/09-sim-syscall_priority_pre.py Index: libseccomp-2.5.2/tests/09-sim-syscall_priority_pre.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/09-sim-syscall_priority_pre.py --- libseccomp-2.5.2.orig/tests/09-sim-syscall_priority_pre.py
+++ libseccomp-2.6.0/tests/09-sim-syscall_priority_pre.py +++ libseccomp-2.5.2/tests/09-sim-syscall_priority_pre.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/10-sim-syscall_priority_post.py Index: libseccomp-2.5.2/tests/10-sim-syscall_priority_post.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/10-sim-syscall_priority_post.py --- libseccomp-2.5.2.orig/tests/10-sim-syscall_priority_post.py
+++ libseccomp-2.6.0/tests/10-sim-syscall_priority_post.py +++ libseccomp-2.5.2/tests/10-sim-syscall_priority_post.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/11-basic-basic_errors.py Index: libseccomp-2.5.2/tests/11-basic-basic_errors.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/11-basic-basic_errors.py --- libseccomp-2.5.2.orig/tests/11-basic-basic_errors.py
+++ libseccomp-2.6.0/tests/11-basic-basic_errors.py +++ libseccomp-2.5.2/tests/11-basic-basic_errors.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/12-sim-basic_masked_ops.py Index: libseccomp-2.5.2/tests/12-sim-basic_masked_ops.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/12-sim-basic_masked_ops.py --- libseccomp-2.5.2.orig/tests/12-sim-basic_masked_ops.py
+++ libseccomp-2.6.0/tests/12-sim-basic_masked_ops.py +++ libseccomp-2.5.2/tests/12-sim-basic_masked_ops.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/13-basic-attrs.py Index: libseccomp-2.5.2/tests/13-basic-attrs.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/13-basic-attrs.py --- libseccomp-2.5.2.orig/tests/13-basic-attrs.py
+++ libseccomp-2.6.0/tests/13-basic-attrs.py +++ libseccomp-2.5.2/tests/13-basic-attrs.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/14-sim-reset.py Index: libseccomp-2.5.2/tests/14-sim-reset.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/14-sim-reset.py --- libseccomp-2.5.2.orig/tests/14-sim-reset.py
+++ libseccomp-2.6.0/tests/14-sim-reset.py +++ libseccomp-2.5.2/tests/14-sim-reset.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/15-basic-resolver.py Index: libseccomp-2.5.2/tests/15-basic-resolver.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/15-basic-resolver.py --- libseccomp-2.5.2.orig/tests/15-basic-resolver.py
+++ libseccomp-2.6.0/tests/15-basic-resolver.py +++ libseccomp-2.5.2/tests/15-basic-resolver.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/16-sim-arch_basic.py Index: libseccomp-2.5.2/tests/16-sim-arch_basic.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/16-sim-arch_basic.py --- libseccomp-2.5.2.orig/tests/16-sim-arch_basic.py
+++ libseccomp-2.6.0/tests/16-sim-arch_basic.py +++ libseccomp-2.5.2/tests/16-sim-arch_basic.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/17-sim-arch_merge.py Index: libseccomp-2.5.2/tests/17-sim-arch_merge.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/17-sim-arch_merge.py --- libseccomp-2.5.2.orig/tests/17-sim-arch_merge.py
+++ libseccomp-2.6.0/tests/17-sim-arch_merge.py +++ libseccomp-2.5.2/tests/17-sim-arch_merge.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/18-sim-basic_allowlist.py Index: libseccomp-2.5.2/tests/18-sim-basic_allowlist.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/18-sim-basic_allowlist.py --- libseccomp-2.5.2.orig/tests/18-sim-basic_allowlist.py
+++ libseccomp-2.6.0/tests/18-sim-basic_allowlist.py +++ libseccomp-2.5.2/tests/18-sim-basic_allowlist.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/19-sim-missing_syscalls.py Index: libseccomp-2.5.2/tests/19-sim-missing_syscalls.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/19-sim-missing_syscalls.py --- libseccomp-2.5.2.orig/tests/19-sim-missing_syscalls.py
+++ libseccomp-2.6.0/tests/19-sim-missing_syscalls.py +++ libseccomp-2.5.2/tests/19-sim-missing_syscalls.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/20-live-basic_die.py Index: libseccomp-2.5.2/tests/20-live-basic_die.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/20-live-basic_die.py --- libseccomp-2.5.2.orig/tests/20-live-basic_die.py
+++ libseccomp-2.6.0/tests/20-live-basic_die.py +++ libseccomp-2.5.2/tests/20-live-basic_die.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/21-live-basic_allow.py Index: libseccomp-2.5.2/tests/21-live-basic_allow.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/21-live-basic_allow.py --- libseccomp-2.5.2.orig/tests/21-live-basic_allow.py
+++ libseccomp-2.6.0/tests/21-live-basic_allow.py +++ libseccomp-2.5.2/tests/21-live-basic_allow.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/22-sim-basic_chains_array.py Index: libseccomp-2.5.2/tests/22-sim-basic_chains_array.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/22-sim-basic_chains_array.py --- libseccomp-2.5.2.orig/tests/22-sim-basic_chains_array.py
+++ libseccomp-2.6.0/tests/22-sim-basic_chains_array.py +++ libseccomp-2.5.2/tests/22-sim-basic_chains_array.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/23-sim-arch_all_le_basic.py Index: libseccomp-2.5.2/tests/23-sim-arch_all_le_basic.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/23-sim-arch_all_le_basic.py --- libseccomp-2.5.2.orig/tests/23-sim-arch_all_le_basic.py
+++ libseccomp-2.6.0/tests/23-sim-arch_all_le_basic.py +++ libseccomp-2.5.2/tests/23-sim-arch_all_le_basic.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/24-live-arg_allow.py Index: libseccomp-2.5.2/tests/24-live-arg_allow.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/24-live-arg_allow.py --- libseccomp-2.5.2.orig/tests/24-live-arg_allow.py
+++ libseccomp-2.6.0/tests/24-live-arg_allow.py +++ libseccomp-2.5.2/tests/24-live-arg_allow.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/25-sim-multilevel_chains_adv.py Index: libseccomp-2.5.2/tests/25-sim-multilevel_chains_adv.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/25-sim-multilevel_chains_adv.py --- libseccomp-2.5.2.orig/tests/25-sim-multilevel_chains_adv.py
+++ libseccomp-2.6.0/tests/25-sim-multilevel_chains_adv.py +++ libseccomp-2.5.2/tests/25-sim-multilevel_chains_adv.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/26-sim-arch_all_be_basic.py Index: libseccomp-2.5.2/tests/26-sim-arch_all_be_basic.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/26-sim-arch_all_be_basic.py --- libseccomp-2.5.2.orig/tests/26-sim-arch_all_be_basic.py
+++ libseccomp-2.6.0/tests/26-sim-arch_all_be_basic.py +++ libseccomp-2.5.2/tests/26-sim-arch_all_be_basic.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/27-sim-bpf_blk_state.py Index: libseccomp-2.5.2/tests/27-sim-bpf_blk_state.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/27-sim-bpf_blk_state.py --- libseccomp-2.5.2.orig/tests/27-sim-bpf_blk_state.py
+++ libseccomp-2.6.0/tests/27-sim-bpf_blk_state.py +++ libseccomp-2.5.2/tests/27-sim-bpf_blk_state.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/28-sim-arch_x86.py Index: libseccomp-2.5.2/tests/28-sim-arch_x86.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/28-sim-arch_x86.py --- libseccomp-2.5.2.orig/tests/28-sim-arch_x86.py
+++ libseccomp-2.6.0/tests/28-sim-arch_x86.py +++ libseccomp-2.5.2/tests/28-sim-arch_x86.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/29-sim-pseudo_syscall.py Index: libseccomp-2.5.2/tests/29-sim-pseudo_syscall.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/29-sim-pseudo_syscall.py --- libseccomp-2.5.2.orig/tests/29-sim-pseudo_syscall.py
+++ libseccomp-2.6.0/tests/29-sim-pseudo_syscall.py +++ libseccomp-2.5.2/tests/29-sim-pseudo_syscall.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/30-sim-socket_syscalls.py Index: libseccomp-2.5.2/tests/30-sim-socket_syscalls.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/30-sim-socket_syscalls.py --- libseccomp-2.5.2.orig/tests/30-sim-socket_syscalls.py
+++ libseccomp-2.6.0/tests/30-sim-socket_syscalls.py +++ libseccomp-2.5.2/tests/30-sim-socket_syscalls.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/31-basic-version_check.py Index: libseccomp-2.5.2/tests/31-basic-version_check.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/31-basic-version_check.py --- libseccomp-2.5.2.orig/tests/31-basic-version_check.py
+++ libseccomp-2.6.0/tests/31-basic-version_check.py +++ libseccomp-2.5.2/tests/31-basic-version_check.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/32-live-tsync_allow.py Index: libseccomp-2.5.2/tests/32-live-tsync_allow.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/32-live-tsync_allow.py --- libseccomp-2.5.2.orig/tests/32-live-tsync_allow.py
+++ libseccomp-2.6.0/tests/32-live-tsync_allow.py +++ libseccomp-2.5.2/tests/32-live-tsync_allow.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/33-sim-socket_syscalls_be.py Index: libseccomp-2.5.2/tests/33-sim-socket_syscalls_be.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/33-sim-socket_syscalls_be.py --- libseccomp-2.5.2.orig/tests/33-sim-socket_syscalls_be.py
+++ libseccomp-2.6.0/tests/33-sim-socket_syscalls_be.py +++ libseccomp-2.5.2/tests/33-sim-socket_syscalls_be.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/34-sim-basic_denylist.py Index: libseccomp-2.5.2/tests/34-sim-basic_denylist.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/34-sim-basic_denylist.py --- libseccomp-2.5.2.orig/tests/34-sim-basic_denylist.py
+++ libseccomp-2.6.0/tests/34-sim-basic_denylist.py +++ libseccomp-2.5.2/tests/34-sim-basic_denylist.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/35-sim-negative_one.py Index: libseccomp-2.5.2/tests/35-sim-negative_one.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/35-sim-negative_one.py --- libseccomp-2.5.2.orig/tests/35-sim-negative_one.py
+++ libseccomp-2.6.0/tests/35-sim-negative_one.py +++ libseccomp-2.5.2/tests/35-sim-negative_one.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/36-sim-ipc_syscalls.py Index: libseccomp-2.5.2/tests/36-sim-ipc_syscalls.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/36-sim-ipc_syscalls.py --- libseccomp-2.5.2.orig/tests/36-sim-ipc_syscalls.py
+++ libseccomp-2.6.0/tests/36-sim-ipc_syscalls.py +++ libseccomp-2.5.2/tests/36-sim-ipc_syscalls.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/37-sim-ipc_syscalls_be.py Index: libseccomp-2.5.2/tests/37-sim-ipc_syscalls_be.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/37-sim-ipc_syscalls_be.py --- libseccomp-2.5.2.orig/tests/37-sim-ipc_syscalls_be.py
+++ libseccomp-2.6.0/tests/37-sim-ipc_syscalls_be.py +++ libseccomp-2.5.2/tests/37-sim-ipc_syscalls_be.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/39-basic-api_level.py Index: libseccomp-2.5.2/tests/39-basic-api_level.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/39-basic-api_level.py --- libseccomp-2.5.2.orig/tests/39-basic-api_level.py
+++ libseccomp-2.6.0/tests/39-basic-api_level.py +++ libseccomp-2.5.2/tests/39-basic-api_level.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/40-sim-log.py Index: libseccomp-2.5.2/tests/40-sim-log.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/40-sim-log.py --- libseccomp-2.5.2.orig/tests/40-sim-log.py
+++ libseccomp-2.6.0/tests/40-sim-log.py +++ libseccomp-2.5.2/tests/40-sim-log.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/41-sim-syscall_priority_arch.py Index: libseccomp-2.5.2/tests/41-sim-syscall_priority_arch.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/41-sim-syscall_priority_arch.py --- libseccomp-2.5.2.orig/tests/41-sim-syscall_priority_arch.py
+++ libseccomp-2.6.0/tests/41-sim-syscall_priority_arch.py +++ libseccomp-2.5.2/tests/41-sim-syscall_priority_arch.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/42-sim-adv_chains.py Index: libseccomp-2.5.2/tests/42-sim-adv_chains.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/42-sim-adv_chains.py --- libseccomp-2.5.2.orig/tests/42-sim-adv_chains.py
+++ libseccomp-2.6.0/tests/42-sim-adv_chains.py +++ libseccomp-2.5.2/tests/42-sim-adv_chains.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/43-sim-a2_order.py Index: libseccomp-2.5.2/tests/43-sim-a2_order.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/43-sim-a2_order.py --- libseccomp-2.5.2.orig/tests/43-sim-a2_order.py
+++ libseccomp-2.6.0/tests/43-sim-a2_order.py +++ libseccomp-2.5.2/tests/43-sim-a2_order.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/44-live-a2_order.py Index: libseccomp-2.5.2/tests/44-live-a2_order.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/44-live-a2_order.py --- libseccomp-2.5.2.orig/tests/44-live-a2_order.py
+++ libseccomp-2.6.0/tests/44-live-a2_order.py +++ libseccomp-2.5.2/tests/44-live-a2_order.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/45-sim-chain_code_coverage.py Index: libseccomp-2.5.2/tests/45-sim-chain_code_coverage.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/45-sim-chain_code_coverage.py --- libseccomp-2.5.2.orig/tests/45-sim-chain_code_coverage.py
+++ libseccomp-2.6.0/tests/45-sim-chain_code_coverage.py +++ libseccomp-2.5.2/tests/45-sim-chain_code_coverage.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/46-sim-kill_process.py Index: libseccomp-2.5.2/tests/46-sim-kill_process.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/46-sim-kill_process.py --- libseccomp-2.5.2.orig/tests/46-sim-kill_process.py
+++ libseccomp-2.6.0/tests/46-sim-kill_process.py +++ libseccomp-2.5.2/tests/46-sim-kill_process.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/47-live-kill_process.py Index: libseccomp-2.5.2/tests/47-live-kill_process.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/47-live-kill_process.py --- libseccomp-2.5.2.orig/tests/47-live-kill_process.py
+++ libseccomp-2.6.0/tests/47-live-kill_process.py +++ libseccomp-2.5.2/tests/47-live-kill_process.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/48-sim-32b_args.py Index: libseccomp-2.5.2/tests/48-sim-32b_args.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/48-sim-32b_args.py --- libseccomp-2.5.2.orig/tests/48-sim-32b_args.py
+++ libseccomp-2.6.0/tests/48-sim-32b_args.py +++ libseccomp-2.5.2/tests/48-sim-32b_args.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/49-sim-64b_comparisons.py Index: libseccomp-2.5.2/tests/49-sim-64b_comparisons.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/49-sim-64b_comparisons.py --- libseccomp-2.5.2.orig/tests/49-sim-64b_comparisons.py
+++ libseccomp-2.6.0/tests/49-sim-64b_comparisons.py +++ libseccomp-2.5.2/tests/49-sim-64b_comparisons.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/50-sim-hash_collision.py Index: libseccomp-2.5.2/tests/50-sim-hash_collision.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/50-sim-hash_collision.py --- libseccomp-2.5.2.orig/tests/50-sim-hash_collision.py
+++ libseccomp-2.6.0/tests/50-sim-hash_collision.py +++ libseccomp-2.5.2/tests/50-sim-hash_collision.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/51-live-user_notification.py Index: libseccomp-2.5.2/tests/51-live-user_notification.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/51-live-user_notification.py --- libseccomp-2.5.2.orig/tests/51-live-user_notification.py
+++ libseccomp-2.6.0/tests/51-live-user_notification.py +++ libseccomp-2.5.2/tests/51-live-user_notification.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/52-basic-load.py Index: libseccomp-2.5.2/tests/52-basic-load.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/52-basic-load.py --- libseccomp-2.5.2.orig/tests/52-basic-load.py
+++ libseccomp-2.6.0/tests/52-basic-load.py +++ libseccomp-2.5.2/tests/52-basic-load.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/53-sim-binary_tree.py Index: libseccomp-2.5.2/tests/53-sim-binary_tree.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/53-sim-binary_tree.py --- libseccomp-2.5.2.orig/tests/53-sim-binary_tree.py
+++ libseccomp-2.6.0/tests/53-sim-binary_tree.py +++ libseccomp-2.5.2/tests/53-sim-binary_tree.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/54-live-binary_tree.py Index: libseccomp-2.5.2/tests/54-live-binary_tree.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/54-live-binary_tree.py --- libseccomp-2.5.2.orig/tests/54-live-binary_tree.py
+++ libseccomp-2.6.0/tests/54-live-binary_tree.py +++ libseccomp-2.5.2/tests/54-live-binary_tree.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/56-basic-iterate_syscalls.py Index: libseccomp-2.5.2/tests/56-basic-iterate_syscalls.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/56-basic-iterate_syscalls.py --- libseccomp-2.5.2.orig/tests/56-basic-iterate_syscalls.py
+++ libseccomp-2.6.0/tests/56-basic-iterate_syscalls.py +++ libseccomp-2.5.2/tests/56-basic-iterate_syscalls.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/57-basic-rawsysrc.py Index: libseccomp-2.5.2/tests/57-basic-rawsysrc.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/57-basic-rawsysrc.py --- libseccomp-2.5.2.orig/tests/57-basic-rawsysrc.py
+++ libseccomp-2.6.0/tests/57-basic-rawsysrc.py +++ libseccomp-2.5.2/tests/57-basic-rawsysrc.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/58-live-tsync_notify.py Index: libseccomp-2.5.2/tests/58-live-tsync_notify.py
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/58-live-tsync_notify.py --- libseccomp-2.5.2.orig/tests/58-live-tsync_notify.py
+++ libseccomp-2.6.0/tests/58-live-tsync_notify.py +++ libseccomp-2.5.2/tests/58-live-tsync_notify.py
@@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
-#!/usr/bin/env python -#!/usr/bin/env python
+#!/usr/bin/python3 +#!/usr/bin/python3
# #
# Seccomp Library test program # Seccomp Library test program
Index: libseccomp-2.6.0/tests/regression Index: libseccomp-2.5.2/tests/regression
=================================================================== ===================================================================
--- libseccomp-2.6.0.orig/tests/regression --- libseccomp-2.5.2.orig/tests/regression
+++ libseccomp-2.6.0/tests/regression +++ libseccomp-2.5.2/tests/regression
@@ -262,9 +262,9 @@ function run_test_command() { @@ -253,9 +253,9 @@ function run_test_command() {
cmd="$cmd:$(cd $(pwd)/../src/python/build/lib.*; pwd)" cmd="$cmd:$(cd $(pwd)/../src/python/build/lib.*; pwd)"
# check and adjust if we are doing a VPATH build # check and adjust if we are doing a VPATH build
if [[ -e "./$2.py" ]]; then if [[ -e "./$2.py" ]]; then