[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCHv3 0/2] seccomp: remove unused syscalls - for 1.6
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCHv3 0/2] seccomp: remove unused syscalls - for 1.6 |
Date: |
Tue, 23 Jul 2013 09:43:27 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 |
Il 22/07/2013 20:33, Eduardo Otubo ha scritto:
> In this small patch series I basically:
>
> v3 update:
> - reincluded getrlimit(), it's used by Xen.
>
> v2 update:
> - set libseccomp 2.1.0 as requirement on configure script.
> - reincluded setrlimit() (used by Xen) and removed sendfile64() from
> the whitelist.
>
> 1) Remove the ifdef's for the (not so) new libseccomp version that does a
> best effort and translates x86_32 syscalls into x86_64 when possible.
>
> 2) Remove unused syscalls on the seccomp whitelist. For that removal, I've
> been
> running several instances of Qemu using a script written on top of
> virt-test[0]. After some weeks testing I could come up with this small list,
> and safely remove them without breaking anything.
>
> [0] - https://github.com/autotest/virt-test/wiki
>
> Eduardo Otubo (2):
> seccomp: no need to check arch in syscall whitelist
> seccomp: removing unused syscalls gtom whitelist
>
> configure | 2 +-
> qemu-seccomp.c | 17 -----------------
> 2 files changed, 1 insertion(+), 18 deletions(-)
>
Looks good.
Reviewed-by: Paolo Bonzini <address@hidden>
Paolo