From: ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org (Eric W. Biederman) Subject: Re: [PATCH] namespaces: introduce sys_hijack (v7) Date: Fri, 26 Oct 2007 20:29:08 -0600 Message-ID: References: <20071024222125.GA8641@sergelap.austin.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: <20071024222125.GA8641-6s5zFf/epYLPQpwDFJZrxKsjOiXwFzmk@public.gmane.org> (Serge E. Hallyn's message of "Wed, 24 Oct 2007 17:21:25 -0500") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: "Serge E. Hallyn" Cc: containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org, Paul Menage List-Id: containers.vger.kernel.org "Serge E. Hallyn" writes: > This is just a first stab at doing hijack by cgroup files. I force > using the 'tasks' file just so that I can (a) predict and check > the name of the file, (b) make sure it's a cgroup file, and then > (c) trust that taking __d_cont(dentry parent) gives me a legitimate > container. > > Seems to work at least. Grr. I really want to look at this, as it seems a pretty sane idea from my side. Once we get do_fork_task we also have a very nice way to speed of kthread_create. Anyway off to being burried in trying to stabalize what we have merged for 2.6.24. There is a lot there that can use some polish. Eric