Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964828AbVLNQ33 (ORCPT ); Wed, 14 Dec 2005 11:29:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964830AbVLNQ33 (ORCPT ); Wed, 14 Dec 2005 11:29:29 -0500 Received: from e33.co.us.ibm.com ([32.97.110.151]:53189 "EHLO e33.co.us.ibm.com") by vger.kernel.org with ESMTP id S964828AbVLNQ32 (ORCPT ); Wed, 14 Dec 2005 11:29:28 -0500 Date: Wed, 14 Dec 2005 10:29:13 -0600 From: "Serge E. Hallyn" To: Arjan van de Ven Cc: Pavel Machek , "Eric W. Biederman" , Dave Hansen , "SERGE E. HALLYN" , Linux Kernel Mailing List , Hubertus Franke , Paul Jackson Subject: Re: [RFC] [PATCH 00/13] Introduce task_pid api Message-ID: <20051214162913.GA22492@sergelap.austin.ibm.com> References: <20051114212341.724084000@sergelap> <1133977623.24344.31.camel@localhost> <1133991650.30387.17.camel@localhost> <20041214152325.GA2377@ucw.cz> <1134567609.9442.2.camel@laptopd505.fenrus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1134567609.9442.2.camel@laptopd505.fenrus.org> User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1579 Lines: 37 Quoting Arjan van de Ven (arjan@infradead.org): > On Tue, 2004-12-14 at 15:23 +0000, Pavel Machek wrote: > > Hi! > > > > > One of my wish list items would be to run my things like my > > > web browser in a container with only access to a subset of > > > the things I can normally access. That way I could be less > > > concerned about the latest browser security bug. > > > > subterfugue.sf.net (using ptrace), but yes, nicer solution > > would be welcome. > > selinux too, as well as andrea's syscall filter thing and many others. > > the hardest is the balance between security and usability. You don't > want your browser to be able to read files in your home dir (Except > maybe a few selected ones in the browsers own dir)... until you want to > upload a file via a webform. Yup, right now I use a separate account (not in wheel) for web browsing, which using Janak's unshare() patch and a small pam library gets its own namespace which can't see my dmcrypted home partition and has private /tmp. File sharing is done through a non-standard tmp, just to prevent scripts from using it. Pretty convenient, but it really wants some stronger isolation. You'd think I'd at least use my bsdjail to keep unix sockets and such safe... Anyway, real containers would indeed be far more convenient, or at least prettier. -serge - 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/