Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030430AbWBPSxm (ORCPT ); Thu, 16 Feb 2006 13:53:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030474AbWBPSxm (ORCPT ); Thu, 16 Feb 2006 13:53:42 -0500 Received: from e5.ny.us.ibm.com ([32.97.182.145]:21945 "EHLO e5.ny.us.ibm.com") by vger.kernel.org with ESMTP id S1030432AbWBPSxl (ORCPT ); Thu, 16 Feb 2006 13:53:41 -0500 Subject: Re: (pspace,pid) vs true pid virtualization From: Dave Hansen To: "Serge E. Hallyn" Cc: "Eric W. Biederman" , Kirill Korotaev , linux-kernel@vger.kernel.org, vserver@list.linux-vserver.org, Herbert Poetzl , Alan Cox , Arjan van de Ven , Suleiman Souhlal , Hubertus Franke , Cedric Le Goater , Kyle Moffett , Greg , Linus Torvalds , Andrew Morton , Greg KH , Rik van Riel , Alexey Kuznetsov , Andrey Savochkin , Kirill Korotaev , Andi Kleen , Benjamin Herrenschmidt , Jeff Garzik , Trond Myklebust , Jes Sorensen In-Reply-To: <20060216184407.GC11974@sergelap.austin.ibm.com> References: <20060215145942.GA9274@sergelap.austin.ibm.com> <20060216142928.GA22358@sergelap.austin.ibm.com> <20060216175326.GA11974@sergelap.austin.ibm.com> <20060216184407.GC11974@sergelap.austin.ibm.com> Content-Type: text/plain Date: Thu, 16 Feb 2006 10:52:59 -0800 Message-Id: <1140115979.21383.11.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1103 Lines: 24 On Thu, 2006-02-16 at 12:44 -0600, Serge E. Hallyn wrote: > Now Dave and I were just talking about actually using the > init process in a pspace to do administration from outside. > For instance, the userspace code, in /sbin/pspaceinit, which > runs as (pspace 2, pid 1), could open a pipe with it's parent > (pspace1, pid 234). pid 234 can then ask the init process to > do things like list processes, kill a process, and maybe even > recursively talk to the init process in pspace 3. This would require a much smarter init, and that a child be nice, cooperate and pass on what is requested of it if it's nested children are to be killed. If a child decided to be mean and ignore its parent's requests, the parent can always just kill the child. (Read the last sentence, and in case you're wondering, no I don't have any children in real life) -- Dave - 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/