>>> - default: {
>>> - CriuResp resp = CRIU_RESP__INIT;
>>> + if (ret == 0)
>>> + break;
>>> +
>>> + pid = fork();
>> NAK. Each request should be synchronous withing session.
>
> Oh, yeah. I will add wait() after loop. Ok?
Why not just omiting fork() here?