qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCHv3] seccomp: change configure to avoid arm 32 to


From: Paul Moore
Subject: Re: [Qemu-devel] [PATCHv3] seccomp: change configure to avoid arm 32 to break
Date: Fri, 07 Nov 2014 14:14:37 -0500
User-agent: KMail/4.14.2 (Linux/3.16.7-gentoo; KDE/4.14.2; x86_64; ; )

On Friday, November 07, 2014 10:05:44 AM Eduardo Otubo wrote:
> Current stable version of libseccomp (2.1.1) only supports i386 and
> x86_64 archs correctly. This patch limits the usage of the syscall
> filter for those archs and updates to the correct last version of
> libseccomp.
> 
> This patch also fixes the bug:
> https://bugs.launchpad.net/qemu/+bug/1363641
> 
> Signed-off-by: Eduardo Otubo <address@hidden>
> ---
>  configure | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Thanks Eduardo, I'll let you know once I've cut a new release of libseccomp.

Acked-by: Paul Moore <address@hidden>

> diff --git a/configure b/configure
> index 2f17bf3..47048f0 100755
> --- a/configure
> +++ b/configure
> @@ -1823,7 +1823,8 @@ fi
>  # libseccomp check
> 
>  if test "$seccomp" != "no" ; then
> -    if $pkg_config --atleast-version=2.1.0 libseccomp; then
> +    if test "$cpu" = "i386" || test "$cpu" = "x86_64" &&
> +        $pkg_config --atleast-version=2.1.1 libseccomp; then
>          libs_softmmu="$libs_softmmu `$pkg_config --libs libseccomp`"
>          QEMU_CFLAGS="$QEMU_CFLAGS `$pkg_config --cflags libseccomp`"
>       seccomp="yes"

-- 
paul moore
security and virtualization @ redhat




reply via email to

[Prev in Thread] Current Thread [Next in Thread]