OpenSSH 2.5.0p1 vs. SA_RESTART
Damien Miller
djm at mindrot.org
Sun Feb 18 15:02:39 EST 2001
On Sat, 17 Feb 2001, Todd C. Miller wrote:
> On SunOS, SA_INTERRUPT is the converse of SA_RESTART. Since the
> SA_RESTART behavior is the default so you don't really need to
> do anything.
You are correct and my patch is completely wrong. We should have
what Stevens suggests:
#if defined(SA_RESTART)
if (sig == SIGCHLD)
sa.sa_flags |= SA_RESTART;
#endif
#if defined(SA_INTERRUPT)
if (sig == SIGALRM)
sa.sa_flags |= SA_INTERRUPT;
#endif
-d
--
| Damien Miller <djm at mindrot.org> \ ``E-mail attachments are the poor man's
| http://www.mindrot.org / distributed filesystem'' - Dan Geer
More information about the openssh-unix-dev
mailing list