Updated Cray patch against openssh SNAP-20010725

William L. Jones jones at mail.utexas.edu
Fri Jul 27 06:16:07 EST 2001


The Unicos on SV1 has bug in sigaction.
I work with cray to get it fixed.

I like to go ahead and use mouring at etoh.eviladmin.org suggestion until then:

#if !defined(HAVE_SIGACTION) && defined(_CRAY)


> -----Original Message-----
> From: Kevin Steves [mailto:stevesk at pobox.com]
> Sent: Thursday, July 26, 2001 1:00 PM
> To: William L. Jones
> Cc: mouring at etoh.eviladmin.org; William L. Jones;
> openssh-unix-dev at mindrot.org; jones at tacc.utexas.edu
> Subject: RE: Updated Cray patch against openssh SNAP-20010725
>
>
> On Thu, 26 Jul 2001, William L. Jones wrote:
> :I made the change based on the following logic:
> :
> :  1) If you have HAVE_SIGACTION then the signal is handler is
> not reset and
> :     thier is no need to reset it in the signal handler.
> :  2) If you don't have HAVE_SIGACTION then the signal handler
> may or may not
> :     be reset.  So I do the save thing a reset it.
> :
> :Since SIGACTION is a POSIX standered I can depened on 1.
> :
> :Case 2 insure that this code will work the same as it always does if
> :you don't have SIGACTION.
>
> if you have sigaction(), mysignal() will not reset the handler if it has
> not changed, so no changes are required with the switch to mysignal.  i
> just commited a change so we use mysignal() entirely for proto 1 and 2
> server loops.
>
> look in misc.c for mysignal.
>




More information about the openssh-unix-dev mailing list