]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add flag to lxcBasicMounts to control use in user namespaces
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 7 Oct 2013 12:03:51 +0000 (13:03 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 5 Nov 2013 07:51:47 +0000 (15:51 +0800)
commitbf8874025ee8a8a69951918c67e769a99fa27e07
tree5f22af47d17cd2f86339676636a300f506ecb486
parent6d5fdde3dd361658459ae0516522df5067981c12
Add flag to lxcBasicMounts to control use in user namespaces

Some mounts must be skipped if running inside a user namespace,
since the kernel forbids their use. Instead of strcmp'ing the
filesystem type in the body of the loop, set an explicit flag
in the lxcBasicMounts table.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/lxc/lxc_container.c