[CRIU] [PATCH] net: mount sysfs in a new mount name-space

Pavel Emelyanov xemul at parallels.com
Thu Aug 29 09:46:44 EDT 2013


On 08/29/2013 05:20 PM, Andrey Vagin wrote:
> The current scheme is racy. It use open_detache_mount in a current
> name-space. If a mount namespace is created by someone else between
> mount and umount(detach) in open_detache_mount, the mount will be
> propagated in the new mntns, then it is detached in a current ns and
> rmdir fails, because it's still mounted in athother mntns.
> 
> This patch creates a new mount namespace for mounting sysfs.
> 
> Signed-off-by: Andrey Vagin <avagin at openvz.org>

Applied


More information about the CRIU mailing list