termux-packages/packages/openssh
Fredrik Fornwall 2b61e3a317 openssh: Replace some link(2) with rename(2)
OpenSSH uses a link to take a backup while replacing the known_hosts
file:

(1) link known_hosts to known_hosts.old
(2) move new file to known_hosts (overwriting the link there)

Since links are not allowed we replace link with rename:

(1) rename known_hosts to known_hosts.old
(2) move new file to known_hosts

This means that there is a window between (1) and (2) where the
known_hosts file is not available, but that is a really short window
and is hopefully acceptable here.

Fixes #2909.
2018-09-29 10:40:18 +02:00
..
auth.c.patch
build.sh openssh: Replace some link(2) with rename(2) 2018-09-29 10:40:18 +02:00
fix-hardcoded-paths.patch openssh: fix hardcoded paths 2017-09-14 16:20:41 +02:00
hostfile.c.patch openssh: Replace some link(2) with rename(2) 2018-09-29 10:40:18 +02:00
misc_c.patch
mux.c.patch openssh: Make ControlMaster feature work 2015-12-17 19:34:19 -05:00
no_loginrec.patch
no_tty_chmod.patch
openbsd-compat-explicit_bzero.c.patch openssh: Update from 7.3p1 to 7.4p1 2016-12-20 20:33:53 -05:00
openbsd-compat-xcrypt.c.patch openssh: Update from 7.2p2 to 7.3p1 2016-08-08 16:38:50 -04:00
openssl-1.1.patch openssl: Update from 1.0.2 to 1.1.1 (#2775) 2018-09-11 22:43:19 +02:00
servconf.c.patch openssh: Disable privilege separation by patching 2017-03-24 00:14:08 +01:00
session.c.patch make PS1 dynamic and shell-specific 2018-06-22 01:11:37 +02:00
sftp-server.c.patch openssh: Do not try link(2) for sftp-server rename 2016-06-06 18:23:11 -04:00
source-ssh-agent.sh Avoid hard-coded paths in some more places 2017-11-16 23:37:57 +01:00
ssh-agent.c.patch Don't use setresgid or setgid in ssh-agent 2018-08-09 23:03:48 +02:00
ssh-keygen.c.patch openssh: Replace some link(2) with rename(2) 2018-09-29 10:40:18 +02:00
ssh-with-agent.sh
sshd_config.5.patch
sshd.c.patch openssh: Update from 7.6 to 7.7 2018-04-04 00:09:47 +02:00