From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Howells Subject: Re: [PATCH 0/3] keys: play nicely with user namespaces Date: Fri, 19 Dec 2008 02:30:24 +0000 Message-ID: <7658.1229653824@redhat.com> References: <20081219014555.GA25688@us.ibm.com> <20081218174613.GA13968@us.ibm.com> <20081217235536.GA932@us.ibm.com> <20081212141707.GB9571@us.ibm.com> <20081211232323.GA8343@us.ibm.com> <3507.1229086294@redhat.com> <25987.1229097458@redhat.com> <3547.1229607983@redhat.com> <7376.1229648192@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20081219014555.GA25688-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> 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: dhowells-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, Linux Containers , "Eric W. Biederman" List-Id: containers.vger.kernel.org Serge E. Hallyn wrote: > Yup - patch coming (probably next week) for that, Thanks. > but there's the question, given that user namespaces are hierarchical, of > whether, if pidns B is a child of pidns A created by userid 500, a task in > pidns A should see keys in userns B (listed as belonging to userid 500). Does that mean all the UIDs of B should be part of A? Or is just UID 500 inherited? Or is UID 0 in B the same as UID 500 in A? David