Skip to contentSkip to conversation

seccomp branch queue

GIT PULL Eduardo Otubo 3 participants 6 messages Apr 12, 2019

lore
Share & tools
lore
#0 lore raw

The following changes since commit 532cc6da74ec25b5ba6893b5757c977d54582949:

Update version for v4.0.0-rc3 release (2019-04-10 15:38:59 +0100)

are available in the Git repository at:

https://github.com/otubo/qemu.git tags/pull-seccomp-20190412

for you to fetch changes up to ee352b53b3e49ba9621149f9de7279a5cadd606c:

configure: Relax check for libseccomp (2019-04-12 13:30:40 +0200)

----------------------------------------------------------------
pull-seccomp-20190412

----------------------------------------------------------------
Helge Deller (1):
configure: Relax check for libseccomp

 configure | 28 ++++------------------------
 1 file changed, 4 insertions(+), 24 deletions(-)
Signature · 1 line
2.17.2
#1 lore raw

[Qemu-devel] [PULL 1/1] configure: Relax check for libseccomp

From: Helge Deller <[email protected]>

All major distributions do support libseccomp version >= 2.3.0, so there is no need to special-case on various architectures any longer.

---
 configure | 28 ++++------------------------
 1 file changed, 4 insertions(+), 24 deletions(-)
configure +4 -24
index 1c563a7027..fcc56aa979 100755
@@ -2377,36 +2377,16 @@ fi
 ##########################################
 # libseccomp check
 
-libseccomp_minver="2.2.0"
 if test "$seccomp" != "no" ; then
-    case "$cpu" in
-    i386|x86_64|mips)
-        ;;
-    arm|aarch64)
-        libseccomp_minver="2.2.3"
-        ;;
-    ppc|ppc64|s390x)
-        libseccomp_minver="2.3.0"
-        ;;
-    *)
-        libseccomp_minver=""
-        ;;
-    esac
-
-    if test "$libseccomp_minver" != "" &&
-       $pkg_config --atleast-version=$libseccomp_minver libseccomp ; then
+    libseccomp_minver="2.3.0"
+    if $pkg_config --atleast-version=$libseccomp_minver libseccomp ; then
         seccomp_cflags="$($pkg_config --cflags libseccomp)"
         seccomp_libs="$($pkg_config --libs libseccomp)"
         seccomp="yes"
     else
         if test "$seccomp" = "yes" ; then
-            if test "$libseccomp_minver" != "" ; then
-                feature_not_found "libseccomp" \
-                    "Install libseccomp devel >= $libseccomp_minver"
-            else
-                feature_not_found "libseccomp" \
-                    "libseccomp is not supported for host cpu $cpu"
-            fi
+            feature_not_found "libseccomp" \
+                 "Install libseccomp devel >= $libseccomp_minver"
         fi
         seccomp="no"
     fi
Signature · 1 line
2.17.2
#2 lore raw

Re: [Qemu-devel] [PULL 1/1] configure: Relax check for libseccomp

Quoted 9 lines · Eduardo Otubo

From: Helge Deller <[email protected]>

All major distributions do support libseccomp version >= 2.3.0, so there is no need to special-case on various architectures any longer.

When sending pull requests the subsystem maintainer *must* add their Signed-off-by as this is what has legal meaning with respect to the developer certificate of origin.

Acked-by is something that is used to give a different subsystem maintainer permission to merge a patch that would normally be your responsibility.

Regards,
Daniel

Signature · 3 lines
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
#3 lore raw

Re: [Qemu-devel] [PULL 1/1] configure: Relax check for libseccomp

Quoted 11 lines · Daniel P. Berrange
Quoted 9 lines · Eduardo Otubo

From: Helge Deller <[email protected]>

All major distributions do support libseccomp version >= 2.3.0, so there is no need to special-case on various architectures any longer.

Quoted 9 lines

When sending pull requests the subsystem maintainer *must* add their Signed-off-by as this is what has legal meaning with respect to the developer certificate of origin.

Acked-by is something that is used to give a different subsystem maintainer permission to merge a patch that would normally be your responsibility.

I think this issue was already raised by Peter on my last pull-request. My appologies, I fixed the last pull request my didn't fix my script :/

Will send again after the release.
Thanks for pointing that out.

Signature · 5 lines
Eduardo Otubo

Red Hat GmbH,http://www.de.redhat.com/, Sitz: Grasbrunn,
Handelsregister: Amtsgericht München, HRB 153243,
Geschäftsführer: Charles Cachera, Michael O'Neill, Tom Savage, Eric Shander
#4 lore raw
In reply to Eduardo Otubo
Quoted 11 lines · Eduardo Otubo

The following changes since commit 532cc6da74ec25b5ba6893b5757c977d54582949:

Update version for v4.0.0-rc3 release (2019-04-10 15:38:59 +0100)

are available in the Git repository at:

https://github.com/otubo/qemu.git tags/pull-seccomp-20190412

for you to fetch changes up to ee352b53b3e49ba9621149f9de7279a5cadd606c:

Quoted 8 lines

configure: Relax check for libseccomp (2019-04-12 13:30:40 +0200)

----------------------------------------------------------------
pull-seccomp-20190412

----------------------------------------------------------------
Helge Deller (1):
configure: Relax check for libseccomp

Is this really release critical? If you're sending pull requests for rc3/rc4 it is extremely helpful if you can give the justification for why they need to go into this release. (As it happens we're going to need an rc4, but I want to keep the set of changes in it to a minimum.)

thanks
-- PMM

#5 lore raw
Quoted 21 lines · Peter Maydell
Quoted 11 lines · Eduardo Otubo

The following changes since commit 532cc6da74ec25b5ba6893b5757c977d54582949:

Update version for v4.0.0-rc3 release (2019-04-10 15:38:59 +0100)

are available in the Git repository at:

https://github.com/otubo/qemu.git tags/pull-seccomp-20190412

for you to fetch changes up to ee352b53b3e49ba9621149f9de7279a5cadd606c:

Quoted 8 lines

configure: Relax check for libseccomp (2019-04-12 13:30:40 +0200)

----------------------------------------------------------------
pull-seccomp-20190412

----------------------------------------------------------------
Helge Deller (1):
configure: Relax check for libseccomp

Quoted 6 lines

Is this really release critical? If you're sending pull requests for rc3/rc4 it is extremely helpful if you can give the justification for why they need to go into this release. (As it happens we're going to need an rc4, but I want to keep the set of changes in it to a minimum.)

This is not critical. I'll send again after the current release.

Signature · 5 lines
Eduardo Otubo

Red Hat GmbH,http://www.de.redhat.com/, Sitz: Grasbrunn,
Handelsregister: Amtsgericht München, HRB 153243,
Geschäftsführer: Charles Cachera, Michael O'Neill, Tom Savage, Eric Shander