]> 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, 19 Sep 2014 23:02:44 +0000 (19:02 -0400)
commit57518f5369bb986fbd6641edf953fda3f46170c9
tree3f1c6c05aa313c6a9131eb78cd4264e291b169a8
parentf5121eae23a79455436413e71b7e9d4eebb69bd8
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