[openssh-commits] [openssh] branch V_10_1 updated (979cbc2c1 -> 9f0dd9505)
git+noreply at mindrot.org
git+noreply at mindrot.org
Tue Oct 7 20:33:12 AEDT 2025
This is an automated email from the git hooks/post-receive script.
dtucker pushed a change to branch V_10_1
in repository openssh.
from 979cbc2c1 upstream: don't reuse c->isatty for signalling that the remote channel
new 28a2788d6 Add clock_gettime compat shim.
new aefeee5be Don't copy native host keys for hostbased test.
new acb690b49 Only set PAM_RHOST if the remote host is not "UNKNOWN"
new 9f0dd9505 Add fcntl.h to includes.
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Detailed log of new commits:
commit 9f0dd9505db695aab1148a977e2668666ad4d177
Author: Darren Tucker <dtucker at dtucker.net>
Date: Tue Oct 7 20:25:07 2025 +1100
Add fcntl.h to includes.
From FreeBSD via bz#3874: "This was previously included due to nested
includes in Heimdal's headers. Without this, the build fails with an
error due to redefining AT_FDCWD."
commit acb690b499e0ec2ce37869c26133615762f53cab
Author: Daan De Meyer <daan.j.demeyer at gmail.com>
Date: Mon Mar 20 20:22:14 2023 +0100
Only set PAM_RHOST if the remote host is not "UNKNOWN"
When using sshd's -i option with stdio that is not a AF_INET/AF_INET6
socket, auth_get_canonical_hostname() returns "UNKNOWN" which is then
set as the value of PAM_RHOST, causing pam to try to do a reverse DNS
query of "UNKNOWN", which times out multiple times, causing a
substantial slowdown when logging in.
To fix this, let's only set PAM_RHOST if the hostname is not "UNKNOWN".
commit aefeee5bedcf117aa9278014eda5f099b5898a10
Author: Darren Tucker <dtucker at dtucker.net>
Date: Tue Oct 7 20:10:56 2025 +1100
Don't copy native host keys for hostbased test.
Some github runners (notably macos-14) seem to have host keys where
public and private do not match, so generate our own keys for testing
purposes.
commit 28a2788d609efe363b403432b08511c801d13667
Author: Darren Tucker <dtucker at dtucker.net>
Date: Tue Oct 7 20:04:40 2025 +1100
Add clock_gettime compat shim.
This fixes the build on macOS prior to 10.12 Sierra, since it does not
have it. Found and tested by Sevan Janiyan.
Summary of changes:
.github/run_test.sh | 1 -
auth-pam.c | 2 +-
includes.h | 3 +++
openbsd-compat/bsd-misc.c | 24 ++++++++++++++++++++++++
openbsd-compat/bsd-misc.h | 8 ++++++++
5 files changed, 36 insertions(+), 2 deletions(-)
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list