[CRIU] [PATCH] zdtm: pty00 -- Count for SIGHUP

Cyrill Gorcunov gorcunov at gmail.com
Fri Aug 15 05:44:13 PDT 2014


On Fri, Aug 15, 2014 at 04:41:30PM +0400, Andrew Vagin wrote:
> >  
> >  	/* Check connectivity */
> >  	ret = write(fdm, teststr, sizeof(teststr) - 1);
> > @@ -77,7 +96,11 @@ int main(int argc, char ** argv)
> 
> I think we should set sigaction here. Otherwise you don't check that a
> signal is received in a right place.

As far as I understand we should not receive SIGHUP until close, so that
if for some reason we're gitting it earlier it should be an error, no?


More information about the CRIU mailing list