[openssh-commits] [openssh] branch master updated (464ba22f -> deaadcb9)

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Aug 20 08:40:33 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  464ba22f  Check compiler for c99 declarations after code.
       new  10e45654  Fix race in pselect replacement code.
       new  deaadcb9  Prefix pselect functions to clarify debug messages

The 2 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 deaadcb93ca15d4f38aa38fb340156077792ce87
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Fri Aug 20 08:39:33 2021 +1000

    Prefix pselect functions to clarify debug messages

commit 10e45654cff221ca60fd35ee069df67208fcf415
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Fri Aug 20 08:30:42 2021 +1000

    Fix race in pselect replacement code.
    
    On the second and subsequent calls to pselect the notify_pipe was not
    added to the select readset, opening up a race that om G. Christensen
    discovered on multiprocessor Solaris <=9 systems.
    
    Also reinitialize notify_pipe if the pid changes.  This will prevent a
    parent and child from using the same FD, although this is not an issue
    in the current structure it might be in future.

Summary of changes:
 openbsd-compat/bsd-pselect.c | 47 +++++++++++++++++++++++++++++---------------
 1 file changed, 31 insertions(+), 16 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list