[CRIU] [PATCH] restore: use /proc/self/mountinfo for collecting mounts fo the root task
Cyrill Gorcunov
gorcunov at gmail.com
Fri Aug 8 03:37:32 PDT 2014
On Fri, Aug 08, 2014 at 02:33:01PM +0400, Andrey Vagin wrote:
> If the root task is forked in a new pidns, it can't use its pid for
> accessing /proc, because this proc belongs to the source pidns.
>
> v2: don't copy a static string.
>
> Reported-by: Tycho Andersen <tycho.andersen at canonical.com>
> Cc: Tycho Andersen <tycho.andersen at canonical.com>
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
Reviewed-by: Cyrill Gorcunov <gorcunov at openvz.org>
More information about the CRIU
mailing list