[openssh-commits] [openssh] branch master updated (f64f8c00 -> d9cb35bb)

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Jun 4 15:13:18 AEST 2021


This is an automated email from the git hooks/post-receive script.

djm pushed a change to branch master
in repository openssh.

      from  f64f8c00  upstream: allow ssh_config SetEnv to override $TERM, which is otherwise
       new  771f57a8  upstream: Switch the listening select loop from select() to
       new  d9cb35bb  upstream: adjust SetEnv description to clarify $TERM handling

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 d9cb35bbec5f623589d7c58fc094817b33030f35
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Fri Jun 4 05:10:03 2021 +0000

    upstream: adjust SetEnv description to clarify $TERM handling
    
    OpenBSD-Commit-ID: 8b8cc0124856bc1094949d55615e5c44390bcb22

commit 771f57a8626709f2ad207058efd68fbf30d31553
Author: dtucker at openbsd.org <dtucker at openbsd.org>
Date:   Fri Jun 4 05:09:08 2021 +0000

    upstream: Switch the listening select loop from select() to
    
    pselect() and mask signals while checking signal flags, umasking for pselect
    and restoring afterwards. Also restore signals before sighup_restart so they
    don't remain blocked after restart.
    
    This prevents a race where a SIGTERM or SIGHUP can arrive between
    checking the flag and calling select (eg if sshd is processing a
    new connection) resulting in sshd not shutting down until the next
    time it receives a new connection.  bz#2158, with & ok djm@
    
    OpenBSD-Commit-ID: bf85bf880fd78e00d7478657644fcda97b9a936f

Summary of changes:
 ssh_config.5 |  8 +++++---
 sshd.c       | 45 +++++++++++++++++++++++++++++++--------------
 2 files changed, 36 insertions(+), 17 deletions(-)

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


More information about the openssh-commits mailing list