[lxc-devel] [PATCH v2 0/2] Partial namespaces for lxc-attach

Christian Seiler christian at iwakd.de
Mon May 21 15:21:32 UTC 2012


Hi Serge,

I've updated my patch for lxc-attach in order to reflect your comments: The
ordering of the flags is now consistent across the source code and I've
added CLONE_NEWUSER to the list of flags. The only thing I wasn't clear
about was what the file in /proc/pid/ns will be called once setns() supports
user namespaces - I used 'usr' but added a comment that this might need to
be changed once the kernel actually supports this and the kernel developers
decide to use something else.

I've also added a patch to add the -R option to allow the remounting of
/proc and /sys when attaching to e.g. only a network namespace.

Regards, 
Christian





More information about the lxc-devel mailing list