[CRIU] CRIU saving/restoring fd for the device file

Pavel Emelyanov xemul at parallels.com
Thu Oct 2 08:17:26 PDT 2014


On 10/02/2014 07:08 PM, Zmudzinski, Krystof C wrote:
> I have finally figured out that I can indeed talk to the driver just fine.  The problem 
> is that my code checks for errno even when ioctls don’t return -1.  For some reason, after
> resume, errno is set to EINTR.  Is it possible that criu causes this by sending a signal 
> to the my app during suspend?

I doubt this. errno is just a variable in memory, criu doesn't touch the app's memory.

> Shouldn’t errno be cleared by criu on resume?

AFAIK no, app's memory should be left intact on restore.

Can you describe problem in more details, please?

Thanks,
Pavel




More information about the CRIU mailing list