Defect: OpenSSH hangs on logout

Kevin Steves stevesk at
Thu Jun 7 07:16:13 EST 2001

On Wed, 6 Jun 2001, Greg Wooledge wrote:
:> this is caused by select() being restarted for SIGCHLD on HP-UX due to the
:> use of SA_RESTART.  can you try the patch below and see if it fixes the
:> problem for HP-UX and linux?  i've tested on HP-UX 11.11.
:> -#if defined(SA_RESTART)
:> +#if 0
:This doesn't seem to make any difference on HP-UX 10.20.  But then,
:I'm using OpenSSH 2.5.2p2 instead of 2.9.x or CVS -- would that matter?

[changing to openssh-unix-dev]

i haven't used 10.20 for a long time.  i'm currently only working with

i don't know if select() is restarted when SA_RESTART on 10.20, but i'd
guess it is.  while 2.5.2p2 has the SA_RESTART change, it would be best to
test with 2.9.


does 10.20 hang with 2.9 without the patch?  with the patch?

More information about the openssh-unix-dev mailing list