[CRIU] Android port

Pavel Emelyanov xemul at parallels.com
Thu Jun 4 13:23:32 PDT 2015


On 06/04/2015 05:35 PM, CRIU criu wrote:
> Can CRIU be used to checkpoint/restore a single process and not a process tree? 

Without a patch -- no, it always scans for the process subtree starting from the
pid given.

> I keep hitting this error message:
> 
>     if (item->sid == 0) {
> 
>         pr_err("A session leader of %d(%d) is outside of its pid namespace\n",
> 
>             item->pid.real, item->pid.virt);
> 
>         goto err_cure;
> 
>     }

But it's not about dumping a single task or a subtree, it's about the resources
leaking outside of what you dump :)

-- Pavel


More information about the CRIU mailing list