OpenSSH, unreliable signals, SA_RESTART and sigaction

Darren Tucker dtucker at dtucker.net
Fri Oct 11 14:28:39 AEDT 2019


Hi folks.

On Mon, 12 Feb 2018 at 19:10, Darren Tucker <dtucker at dtucker.net> wrote:

> [...]
> *** SA_RESTART
>
> OpenSSH currently uses a wrapper function ("mysignal") around that
> implements mostly BSD signal semantics.
>

I have just committed code to put SA_RESTART back into the mysignal wrapper
making it, as far as I can tell, fully implement BSD reliable signal
semantics. This was know to cause problems in the past, so committing this
early in the release cycle gives the maximum chance to shake out problems
before the next release.

If you still use systems suspected of having problems with this in the past
(based on the list archives, that's likely to be HP-UX 10 or UnixWare 2)
please test this before the next release.  If we do discover any currently
in use platforms that have problems with this we'll look at disabling it
just for those platforms.

Thanks.

-- 
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA (new)
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


More information about the openssh-unix-dev mailing list