[CRIU] [PATCH] mount: restore cwd in open_mountpoint()

Pavel Emelyanov xemul at parallels.com
Fri Apr 3 08:00:14 PDT 2015


On 04/02/2015 03:47 PM, Andrey Vagin wrote:
> setns(fd, CLONE_NEWNS) resets cwd and root, so we need to
> restore them back.
> 
> Without this patch stats-dump isn't saved in the work dir:
> -rw-r--r-- 1 root root 32 Apr  2 14:21 /stats-dump
> 
> Signed-off-by: Andrey Vagin <avagin at openvz.org>

Applied, thanks



More information about the CRIU mailing list