From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uymb2-0000AP-UT for qemu-devel@nongnu.org; Mon, 15 Jul 2013 13:30:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uymb1-0002nZ-3E for qemu-devel@nongnu.org; Mon, 15 Jul 2013 13:30:00 -0400 Received: from e24smtp05.br.ibm.com ([32.104.18.26]:35602) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uymb0-0002nL-N7 for qemu-devel@nongnu.org; Mon, 15 Jul 2013 13:29:58 -0400 Received: from /spool/local by e24smtp05.br.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 15 Jul 2013 14:29:57 -0300 Received: from d24relay03.br.ibm.com (d24relay03.br.ibm.com [9.13.184.25]) by d24dlp01.br.ibm.com (Postfix) with ESMTP id 82DF63520074 for ; Mon, 15 Jul 2013 13:29:52 -0400 (EDT) Received: from d24av03.br.ibm.com (d24av03.br.ibm.com [9.8.31.95]) by d24relay03.br.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r6FHSY2f24117294 for ; Mon, 15 Jul 2013 14:28:34 -0300 Received: from d24av03.br.ibm.com (localhost [127.0.0.1]) by d24av03.br.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id r6FHTp9P026800 for ; Mon, 15 Jul 2013 14:29:51 -0300 From: Eduardo Otubo Date: Mon, 15 Jul 2013 14:29:39 -0300 Message-Id: <1373909379-21372-4-git-send-email-otubo@linux.vnet.ibm.com> In-Reply-To: <1373909379-21372-1-git-send-email-otubo@linux.vnet.ibm.com> References: <1373909379-21372-1-git-send-email-otubo@linux.vnet.ibm.com> Subject: [Qemu-devel] seccomp: remove unused syscalls - for 1.6 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: pmoore@redhat.com, coreyb@linux.vnet.ibm.com, Eduardo Otubo Hello all, In this small patch series I basically: 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 GIT: [PATCH 1/2] seccomp: no need to check arch in syscall whitelist GIT: [PATCH 2/2] seccomp: removing unused syscalls gtom whitelist