[CRIU] [PATCH] files: Correctly handle tasks with no open file descriptors

Pavel Emelyanov xemul at virtuozzo.com
Mon Apr 18 08:37:45 PDT 2016


On 04/18/2016 06:30 PM, Cyrill Gorcunov wrote:
> On Mon, Apr 18, 2016 at 06:11:07PM +0300, Kirill Tkhai wrote:
>> Do not fail, if task doesn't have open files. This fixes
>> zdtm/static/fd test, which is broken now:
>>
>> (00.004411) Error (cr-dump.c:1312): Dump files (pid: 25) failed with -1
>> (00.004548) Error (cr-dump.c:1614): Dumping FAILED.
>>
>> Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
> Acked-by: Cyrill Gorcunov <gorcunov at openvz.org>
> 
> Maybe we should go futher and allow CR_FD_FDINFO images to be missing?

They will be such if nothing but the magic is written into it.

-- Pavel



More information about the CRIU mailing list