Received: from eggs.gnu.org ([208.118.235.92]:59450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sfdf2-0002pV-37 for qemu-devel@nongnu.org; Fri, 15 Jun 2012 17:02:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sfdf0-0005IB-FL for qemu-devel@nongnu.org; Fri, 15 Jun 2012 17:02:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sfdf0-0005Hr-78 for qemu-devel@nongnu.org; Fri, 15 Jun 2012 17:02:26 -0400 From: Paul Moore Date: Fri, 15 Jun 2012 17:02:19 -0400 Message-ID: <5022524.gIe1TV6Uvp@sifl> In-Reply-To: References: <20120613203028.GB6019@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [Qemu-devel] [RFC] [PATCHv2 2/2] Adding basic calls to libseccomp in vl.c List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Blue Swirl , Eduardo Otubo On Friday, June 15, 2012 07:06:10 PM Blue Swirl wrote: > I think allowing execve() would render seccomp pretty much useless. Not necessarily. I'll agree that it does seem a bit odd to allow execve(), but there is still value in enabling seccomp to disable potentially buggy/exploitable syscalls. Let's not forget that we have over 300 syscalls on x86_64, not including the 32 bit versions, and even if we add all of the new syscalls suggested in this thread we are still talking about a small subset of syscalls. As far as security goes, the old adage of "less is more" applies. Protecting against the abuse and misuse of execve() is something that is better done with the host's access controls (traditional DAC, MAC via the LSM, etc.). -- paul moore security and virtualization @ redhat