[CRIU] [PATCH] restore: use /proc/self/mountinfo for collecting mounts fo the root task
Pavel Emelyanov
xemul at parallels.com
Tue Aug 12 11:18:56 PDT 2014
On 08/12/2014 10:13 PM, Christopher Covington wrote:
> On 08/08/2014 06:33 AM, 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.
>
> Why not make this part of fopen_proc?
Do you mean teach fopen_proc() open stuff from proper proc? In some
sense it's already there, fopen_proc just opens a file in whatever
proc is set up as current via service descriptor. So all the question
is whether the proper proc is set up.
Thanks,
Pavel
More information about the CRIU
mailing list