From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzrC3-0005Sy-DX for qemu-devel@nongnu.org; Thu, 18 Jul 2013 12:36:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UzrC0-0006I5-NE for qemu-devel@nongnu.org; Thu, 18 Jul 2013 12:36:39 -0400 Received: from e24smtp02.br.ibm.com ([32.104.18.86]:59481) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzrC0-000690-Ay for qemu-devel@nongnu.org; Thu, 18 Jul 2013 12:36:36 -0400 Received: from /spool/local by e24smtp02.br.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 18 Jul 2013 13:35:50 -0300 Received: from d24relay03.br.ibm.com (d24relay03.br.ibm.com [9.13.184.25]) by d24dlp02.br.ibm.com (Postfix) with ESMTP id 4B3A31DC0063 for ; Thu, 18 Jul 2013 12:35:49 -0400 (EDT) Received: from d24av02.br.ibm.com (d24av02.br.ibm.com [9.8.31.93]) by d24relay03.br.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r6IGYUEu22937830 for ; Thu, 18 Jul 2013 13:34:31 -0300 Received: from d24av02.br.ibm.com (localhost [127.0.0.1]) by d24av02.br.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id r6IGZlMY028463 for ; Thu, 18 Jul 2013 13:35:47 -0300 Message-ID: <51E81963.3040301@linux.vnet.ibm.com> Date: Thu, 18 Jul 2013 13:35:47 -0300 From: Eduardo Otubo MIME-Version: 1.0 References: <1373998058-20012-1-git-send-email-otubo@linux.vnet.ibm.com> <8761w7kf3b.fsf@codemonkey.ws> In-Reply-To: <8761w7kf3b.fsf@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] seccomp: remove unused syscalls - for 1.6 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: pmoore@redhat.com, pbonzini@redhat.com, coreyb@linux.vnet.ibm.com, qemu-devel@nongnu.org On 07/18/2013 01:28 PM, Anthony Liguori wrote: > 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. I'm running some tests with qemu && xen, I'll post a v3 by the end of the day. I'll format the cover letter in the correct way next time. Thanks, > > 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 > -- Eduardo Otubo IBM Linux Technology Center