Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757631AbZALVfu (ORCPT ); Mon, 12 Jan 2009 16:35:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755824AbZALVfg (ORCPT ); Mon, 12 Jan 2009 16:35:36 -0500 Received: from one.firstfloor.org ([213.235.205.2]:56362 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753343AbZALVfe (ORCPT ); Mon, 12 Jan 2009 16:35:34 -0500 Date: Mon, 12 Jan 2009 22:50:01 +0100 From: Andi Kleen To: =?iso-8859-1?Q?R=E9mi?= Denis-Courmont Cc: Andi Kleen , Valdis.Kletnieks@vt.edu, Alan Cox , Michael Stone , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: RFC: Network privilege separation. Message-ID: <20090112215001.GG23848@one.firstfloor.org> References: <1231307334-9542-1-git-send-email-michael@laptop.org> <200901122230.25976.rdenis@simphalempin.com> <20090112205547.GE23848@one.firstfloor.org> <200901122247.22059.rdenis@simphalempin.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200901122247.22059.rdenis@simphalempin.com> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1307 Lines: 33 On Mon, Jan 12, 2009 at 10:47:21PM +0200, R?mi Denis-Courmont wrote: > Le lundi 12 janvier 2009 22:55:47 Andi Kleen, vous avez ?crit?: > > Fair point, although I'm afraid you didn't do a very good > > job explaining your reasons, so it sounds like a > > quite arbitary decision. > > Fair enough. It's just way too much interface/adaptation work compared to the > benefit. Especially considering that it would be much easier, and almost as > secure, with a "relaxed" SECCOMP. What system calls would you want in a relaxed SECCOMP? > And on top of that, it's causing > unnecessary overhead (we're also interested in those small Linux-based Would be interesting to try that out -- just adding two memcpyies to the existing code and see how much slower it gets. My guess would be not very, even e.g. on a Atom system (which are really not all that slow). Presumably you could always #ifdef it if it's really a problem on some specific system. That would be needed anyways for non linux systems. -And -- ak@linux.intel.com -- Speaking for myself only. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/