From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56546) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uzr3w-000749-N7 for qemu-devel@nongnu.org; Thu, 18 Jul 2013 12:28:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uzr3r-000331-T1 for qemu-devel@nongnu.org; Thu, 18 Jul 2013 12:28:16 -0400 Received: from mail-ob0-f178.google.com ([209.85.214.178]:61182) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uzr3r-00032o-Ns for qemu-devel@nongnu.org; Thu, 18 Jul 2013 12:28:11 -0400 Received: by mail-ob0-f178.google.com with SMTP id fb19so3965939obc.9 for ; Thu, 18 Jul 2013 09:28:11 -0700 (PDT) From: Anthony Liguori In-Reply-To: <1373998058-20012-1-git-send-email-otubo@linux.vnet.ibm.com> References: <1373998058-20012-1-git-send-email-otubo@linux.vnet.ibm.com> Date: Thu, 18 Jul 2013 11:28:08 -0500 Message-ID: <8761w7kf3b.fsf@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] seccomp: remove unused syscalls - for 1.6 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Otubo , qemu-devel@nongnu.org Cc: pmoore@redhat.com, pbonzini@redhat.com, coreyb@linux.vnet.ibm.com Eduardo Otubo writes: > Hello all, > > In this small patch series I basically: Cover letter should be marked [PATCH 0/2]. Otherwise it defeats filtering. Would like to see a Reviewed-by from someone before applying this. Regards, Anthony Liguori > > v2 update: > - set libseccomp 2.1.0 as requirement on configure script. > - removed setrlimit and added sendfile64 to 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