summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/serverloop.c
diff options
context:
space:
mode:
authordtucker <dtucker@openbsd.org>2016-11-30 00:28:31 +0000
committerdtucker <dtucker@openbsd.org>2016-11-30 00:28:31 +0000
commitf65157c95e85007fe555dba43042245b049128b6 (patch)
tree08ddd33aa28094742cdd50c143568c3f1277a97e /usr.bin/ssh/serverloop.c
parenttweak previous; (diff)
downloadwireguard-openbsd-f65157c95e85007fe555dba43042245b049128b6.tar.xz
wireguard-openbsd-f65157c95e85007fe555dba43042245b049128b6.zip
On startup, check to see if sshd is already daemonized and if so,
skip the call to daemon() and do not rewrite the PidFile. This means that when sshd re-execs itself on SIGHUP the process ID will no longer change. Should address bz#2641. ok djm@ markus@.
Diffstat (limited to 'usr.bin/ssh/serverloop.c')
0 files changed, 0 insertions, 0 deletions