|
|
9bac43 |
From eb80abd49652e09d10b44da5a75c753e76ef5beb Mon Sep 17 00:00:00 2001
|
|
|
9bac43 |
From: Thomas Huth <thuth@redhat.com>
|
|
|
9bac43 |
Date: Mon, 2 Oct 2017 07:04:17 +0200
|
|
|
9bac43 |
Subject: [PATCH 02/34] configure: Allow --enable-seccomp on s390x, too
|
|
|
9bac43 |
|
|
|
9bac43 |
RH-Author: Thomas Huth <thuth@redhat.com>
|
|
|
9bac43 |
Message-id: <1506927858-5400-2-git-send-email-thuth@redhat.com>
|
|
|
9bac43 |
Patchwork-id: 76788
|
|
|
9bac43 |
O-Subject: [RHEL-7.5 qemu-kvm-ma PATCH 1/2] configure: Allow --enable-seccomp on s390x, too
|
|
|
9bac43 |
Bugzilla: 1491647
|
|
|
9bac43 |
RH-Acked-by: Eduardo Otubo <otubo@redhat.com>
|
|
|
9bac43 |
RH-Acked-by: Markus Armbruster <armbru@redhat.com>
|
|
|
9bac43 |
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
|
|
|
9bac43 |
|
|
|
9bac43 |
libseccomp supports s390x since version 2.3.0, and I was able to start
|
|
|
9bac43 |
a VM with "-sandbox on" without any obvious problems by using this patch,
|
|
|
9bac43 |
so it should be safe to allow --enable-seccomp on s390x nowadays, too.
|
|
|
9bac43 |
|
|
|
9bac43 |
Signed-off-by: Thomas Huth <thuth@redhat.com>
|
|
|
9bac43 |
Message-Id: <1505385363-27717-1-git-send-email-thuth@redhat.com>
|
|
|
9bac43 |
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
|
|
|
9bac43 |
Acked-by: Eduardo Otubo <otubo@redhat.com>
|
|
|
9bac43 |
Acked-by: Halil Pasic <pasic@linux.vnet.ibm.com>
|
|
|
9bac43 |
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
|
|
|
9bac43 |
(cherry picked from commit 3aa35fcffcf0fe22ac48d4277ed6057ae3e57ce0)
|
|
|
9bac43 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
9bac43 |
---
|
|
|
9bac43 |
configure | 2 +-
|
|
|
9bac43 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
9bac43 |
|
|
|
9bac43 |
diff --git a/configure b/configure
|
|
|
9bac43 |
index 355c364..5cb65d0 100755
|
|
|
9bac43 |
--- a/configure
|
|
|
9bac43 |
+++ b/configure
|
|
|
9bac43 |
@@ -2050,7 +2050,7 @@ if test "$seccomp" != "no" ; then
|
|
|
9bac43 |
arm|aarch64)
|
|
|
9bac43 |
libseccomp_minver="2.2.3"
|
|
|
9bac43 |
;;
|
|
|
9bac43 |
- ppc|ppc64)
|
|
|
9bac43 |
+ ppc|ppc64|s390x)
|
|
|
9bac43 |
libseccomp_minver="2.3.0"
|
|
|
9bac43 |
;;
|
|
|
9bac43 |
*)
|
|
|
9bac43 |
--
|
|
|
9bac43 |
1.8.3.1
|
|
|
9bac43 |
|