[openssh-commits] [openssh] branch master updated (c9f7bba2 -> 4bdf7a04)
git+noreply at mindrot.org
git+noreply at mindrot.org
Fri Jun 25 15:15:15 AEST 2021
This is an automated email from the git hooks/post-receive script.
dtucker pushed a change to branch master
in repository openssh.
from c9f7bba2 Move closefrom() to before first malloc.
new 4bdf7a04 upstream: Replace SIGCHLD/notify_pipe kludge with pselect.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Detailed log of new commits:
commit 4bdf7a04797a0ea1c431a9d54588417c29177d19
Author: dtucker at openbsd.org <dtucker at openbsd.org>
Date: Fri Jun 25 03:38:17 2021 +0000
upstream: Replace SIGCHLD/notify_pipe kludge with pselect.
Previously sshd's SIGCHLD handler would wake up select() by writing a
byte to notify_pipe. We can remove this by blocking SIGCHLD, checking
for child terminations then passing the original signal mask through
to pselect. This ensures that the pselect will immediately wake up if
a child terminates between wait()ing on them and the pselect.
In -portable, for platforms that do not have pselect the kludge is still
there but is hidden behind a pselect interface.
Based on other changes for bz#2158, ok djm@
OpenBSD-Commit-ID: 202c85de0b3bdf1744fe53529a05404c5480d813
Summary of changes:
serverloop.c | 108 ++++++++++++++++-------------------------------------------
1 file changed, 28 insertions(+), 80 deletions(-)
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list