[CRIU] [PATCH] files: Correctly handle tasks with no open file descriptors
Kirill Tkhai
ktkhai at virtuozzo.com
Mon Apr 18 08:37:16 PDT 2016
On 18.04.2016 18:30, 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?
I considered this an unlikely case, and it seems there won't be huge profit from this.
More information about the CRIU
mailing list