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
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
no_loginrec.patch
no_tty_chmod.patch
openbsd-compat-explicit_bzero.c.patch
openbsd-compat-xcrypt.c.patch
openssl-1.1.patch
servconf.c.patch
session.c.patch
sftp-server.c.patch
source-ssh-agent.sh
ssh-agent.c.patch
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.c.patch
sshd_config.5.patch