]> git.ipfire.org Git - thirdparty/lxc.git/commit
Added lxc.monitor.unshare
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 30 Nov 2015 07:58:53 +0000 (08:58 +0100)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 3 Dec 2015 06:14:08 +0000 (01:14 -0500)
commita8dfe4e08da61a454afca3c94e94a88fb310ebba
tree0eca16f035b0bdbecbded794abc46401f4eedc86
parentd16ccca80f1e3416d353e82c2e02a833add054ba
Added lxc.monitor.unshare

If manual mounting with elevated permissions is required
this can currently only be done in pre-start hooks or before
starting LXC. In both cases the mounts would appear in the
host's namespace.
With this flag the namespace is unshared before the startup
sequence, so that mounts performed in the pre-start hook
don't show up on the host.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
doc/lxc.container.conf.sgml.in
src/lxc/conf.h
src/lxc/confile.c
src/lxc/lxccontainer.c