[CRIU] [PATCH 5/6] restore: Do fchroot() via proc helpers

Pavel Emelyanov xemul at parallels.com
Thu Jun 5 09:43:01 PDT 2014


On 06/05/2014 08:26 PM, Filipe Brandenburger wrote:
> In fchroot(), if fchdir() succeeds but then chroot() fails, it will
> have the unwanted side effect of leaving you in a different directory
> than you were before... Is that a problem?

No, I think. We will just kill the restoring process almost immediately
and the whole restore would fail.

Thanks,
Pavel


More information about the CRIU mailing list