Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756264AbZALT3Y (ORCPT ); Mon, 12 Jan 2009 14:29:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753615AbZALT3G (ORCPT ); Mon, 12 Jan 2009 14:29:06 -0500 Received: from one.firstfloor.org ([213.235.205.2]:41982 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752235AbZALT3E (ORCPT ); Mon, 12 Jan 2009 14:29:04 -0500 Date: Mon, 12 Jan 2009 20:43:33 +0100 From: Andi Kleen To: Valdis.Kletnieks@vt.edu Cc: Alan Cox , Michael Stone , Andi Kleen , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: RFC: Network privilege separation. Message-ID: <20090112194333.GB23848@one.firstfloor.org> References: <1231307334-9542-1-git-send-email-michael@laptop.org> <87mye2yg8a.fsf@basil.nowhere.org> <20090108023111.GJ3164@didacte.laptop.org> <20090108104305.7b271053@lxorguk.ukuu.org.uk> <12821.1231785850@turing-police.cc.vt.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <12821.1231785850@turing-police.cc.vt.edu> 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: 911 Lines: 23 > Yes, the network access part *is* something that should be part of a more > general interface. Having said that, we currently are lacking a way for a > *general user* program to say "I'm all set up, and would like to disavow any > other further resource access (except maybe r/o access as "other" to file > systems)". seccomp does exactly that. It's quite obscure, but available in most linux kernels. Basically it blocks everything except read/write on already open file descriptors. I always thought it would be nice if codecs (which tend to be full of security holes) ran in such jails by default -Andi -- 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/