userns: targeted capabilities v5

Andrew Morton akpm at
Thu Feb 17 16:21:46 PST 2011

On Thu, 17 Feb 2011 15:02:24 +0000
"Serge E. Hallyn" <serge at> wrote:

> Here is a repost of my previous user namespace patch, ported onto
> last night's git head.
> It fixes several things I was doing wrong in the last (v4)
> posting, in particular:
> 	1. don't set uts_ns->user_ns to current's when !CLONE_NEWUTS
> 	2. add a ipc_ns->user_ns which owns ipc_ns, and use that to
> 	   decide CAP_IPC_OWNER
> 	3. fix logic flaw caused by bad parantheses
> 	4. allow do_prlimit to current
> 	5. don't always give root full privs to init_user_ns
> The expected course of development for user namespaces is laid out
> at

Seems like a nice feature to be developing.

I worry about the maturity of it all at this stage.  How far along is
it *really*?

Is anyone else working with you on developing and reviewing this work?

More information about the Containers mailing list