diff mbox

seccomp: Add support for ppc/ppc64

Message ID 1464823818-13901-1-git-send-email-strosake@linux.vnet.ibm.com
State New
Headers show

Commit Message

Mike Strosaker June 1, 2016, 11:30 p.m. UTC
Support for ppc/ppc64 is official in libseccomp 2.3.0, so modify the
configuration script to allow qemuu to enable seccomp for those platforms.

Signed-off-by: Michael Strosaker <strosake@linux.vnet.ibm.com>
---
 configure | 3 +++
 1 file changed, 3 insertions(+)

Comments

Eduardo Otubo June 15, 2016, 7:44 a.m. UTC | #1
On Wed, Jun 01, 2016 at 06=30=18PM -0500, Michael Strosaker wrote:
> Support for ppc/ppc64 is official in libseccomp 2.3.0, so modify the
> configuration script to allow qemuu to enable seccomp for those platforms.
> 
> Signed-off-by: Michael Strosaker <strosake@linux.vnet.ibm.com>
> ---
>  configure | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/configure b/configure
> index b5aab72..79b571d 100755
> --- a/configure
> +++ b/configure
> @@ -1879,6 +1879,9 @@ if test "$seccomp" != "no" ; then
>      arm|aarch64)
>          libseccomp_minver="2.2.3"
>          ;;
> +    ppc|ppc64)
> +        libseccomp_minver="2.3.0"
> +        ;;
>      *)
>          libseccomp_minver=""
>          ;;
> -- 
> 1.8.3.1
> 

Acked-by: Eduardo Otubo <eduardo.otubo@profitbricks.com>

Patch looks good. I'll send a pull request shortly.

Thanks for the contribution.
diff mbox

Patch

diff --git a/configure b/configure
index b5aab72..79b571d 100755
--- a/configure
+++ b/configure
@@ -1879,6 +1879,9 @@  if test "$seccomp" != "no" ; then
     arm|aarch64)
         libseccomp_minver="2.2.3"
         ;;
+    ppc|ppc64)
+        libseccomp_minver="2.3.0"
+        ;;
     *)
         libseccomp_minver=""
         ;;