diff options
author | 2007-02-21 11:00:05 +0000 | |
---|---|---|
committer | 2007-02-21 11:00:05 +0000 | |
commit | 0b4d7c2e4d60dd91da44d6605b0a6cbe224098e2 (patch) | |
tree | 53591b1b95b6df88b2cf97b5a558bc037a91f1c3 /usr.bin/diff/diff.h | |
parent | simplify synopsis and usage(); from Igor Sobrado (diff) | |
download | wireguard-openbsd-0b4d7c2e4d60dd91da44d6605b0a6cbe224098e2.tar.xz wireguard-openbsd-0b4d7c2e4d60dd91da44d6605b0a6cbe224098e2.zip |
Clear alarm() before restarting sshd on SIGHUP. Without this, if there's
a SIGALRM pending (for SSH1 key regeneration) when sshd is SIGHUP'ed, the
newly exec'ed sshd will get the SIGALRM and not have a handler for it,
and the default action will terminate the listening sshd. Analysis and
patch from andrew at gaul.org.
Diffstat (limited to 'usr.bin/diff/diff.h')
0 files changed, 0 insertions, 0 deletions