]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc_mount_auto_mounts: honor existing nodev etc at remounts
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Wed, 20 Aug 2014 23:18:40 +0000 (23:18 +0000)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 22 Aug 2014 19:05:37 +0000 (14:05 -0500)
commite2a7e8dc47df0f188f89e0ef9945c49f126e5475
tree5d6cf02d385f34e60dfa550bb5ebe30e2d857cef
parent2938f7c82b894db4039f050a91fdc3b8c96b7d5e
lxc_mount_auto_mounts: honor existing nodev etc at remounts

Same problem as we had with mount_entry().  lxc_mount_auto_mounts()
sometimes does bind mount followed by remount to change options.
With recent kernels it must pass any preexisting NODEV/NOSUID/etc
flags.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/conf.c