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

Cyrill Gorcunov gorcunov at gmail.com
Mon Apr 18 08:30:10 PDT 2016


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?


More information about the CRIU mailing list