From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bryan Donlan Subject: Re: Network isolation with RLIMIT_NETWORK, cont'd. Date: Thu, 17 Dec 2009 13:24:50 -0500 Message-ID: <3e8340490912171024n2120e88q569c69fe7d09140f@mail.gmail.com> References: <20091213142149.GB4777@heat> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: Michael Stone , "Eric W. Biederman" , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-security-module@vger.kernel.org, Andi Kleen , David Lang , Oliver Hartkopp , Alan Cox , Herbert Xu , Valdis Kletnieks , =?ISO-8859-1?Q?R=E9mi_Denis=2DCourmont?= , Evgeniy Polyakov , "C. Scott Ananian" , James Morris , Bernie Innocenti , Linux Containers To: Mark Seaborn Return-path: In-Reply-To: Sender: linux-security-module-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Thu, Dec 17, 2009 at 12:31 PM, Mark Seaborn wrote: > Maybe we could fix (b) by making mount namespaces into first class objects > that can be named through a file descriptor, so that one process can > manipulate another process's namespace without itself being subject to the > namespace. Can this be done using openat() and friends currently? It would seem the natural way to implement this; open /proc/(pid)/root, then openat() things from there (or even chdir to it and see the mounts that it sees from there...)