Patches for Cray T3Es running Unicossmk and SV1s running Unicos

Michael Stone mstone at cs.loyola.edu
Wed Jul 25 05:50:11 EST 2001


On Tue, Jul 24, 2001 at 10:47:14AM -0700, Kevin Steves wrote:
> :4) Fixed a few minor issues with resetting SIGCHLD.  If you  permanently
> :install
> :   a signal with mysingnal for SIGCHLD you don't need to reset it in the
> :   sigchld handler.  You can get into a infinite signal loop if the sigchld
> :   handler does not reap the child win it is called if it reset the sigchld
> :   handler, it is a cray thing.
> 
> does cray have sigaction()?  i think we should be using mysignal() in the
> protocol 1 loop now that the signal handlers have converged.  can you try
> the patch below?

That should work fine. IIRC, the issue was in resetting the sigchld
handler inside the sigchld_handler2 before actually wait()ing for the
child. (Which meant you'd get bounced right back into the sigchld
handler...)

-- 
Mike Stone



More information about the openssh-unix-dev mailing list