Re: [PATCH 1/9] Add a user_namespace as creator/owner of uts_namespace
From: David Howells
Date: Wed Feb 23 2011 - 18:19:33 EST
Eric W. Biederman <ebiederm@xxxxxxxxxxxx> wrote:
> > Which means that unless the uts_namespace belongs to our user_namespace, we
> > cannot change it. Is that correct?
>
> No. If you are root in a parent namespace you can also change it.
But surely, by definition, if you're a user in this namespace, you can't also
be root in a parent namespace...
For the case I worked through current_user() is a member of current_user_ns()
and can't also be a member of its parent, grandparent, etc. - or can it?
David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/