[CRIU] Re: [PATCH] restorer: close log file before detaching from crtools

Cyrill Gorcunov gorcunov at openvz.org
Mon Feb 20 12:05:42 EST 2012


On Mon, Feb 20, 2012 at 08:52:05PM +0400, Kinsbursky Stanislav wrote:
> >
> >Stas, I somehow missed -- can't we use sys_exit here? With error
> >code combined by line and error number. Hm?
> 
> 1) Don't we going to trigger segmentation fault?

And? I miss the point here.

> 2) If we will use sys_exit() instead, which process will handle
> error code from your POW? From my it's "init", because crtools
> detached from restoring process already.

Util -d is passed it'll be a parent for all restored tasks. But I
agree, this won't work.

OK, lets do a deal -- jump to non-canonical address instead
as being descussed (and please check if it does a trick for us).

	Cyrill


More information about the CRIU mailing list