[CRIU] [PATCH] restore: use /proc/self/mountinfo for collecting mounts fo the root task (v3)

Pavel Emelyanov xemul at parallels.com
Tue Aug 12 03:35:37 PDT 2014


On 08/08/2014 06:41 PM, Tycho Andersen wrote:
> On Fri, Aug 08, 2014 at 03:02:06PM +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.
>> v3: take a bright part of Tycho's patch
>>
>> Reported-by: Tycho Andersen <tycho.andersen at canonical.com>
>> Cc: Tycho Andersen <tycho.andersen at canonical.com>
> 
> Acked-by: Tycho Andersen <tycho.andersen at canonical.com>
> 
> Tycho
> 
>> Signed-off-by: Andrey Vagin <avagin at openvz.org>

Applied, thanks guys!



More information about the CRIU mailing list