summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diff.h
diff options
context:
space:
mode:
authordtucker <dtucker@openbsd.org>2007-02-21 11:00:05 +0000
committerdtucker <dtucker@openbsd.org>2007-02-21 11:00:05 +0000
commit0b4d7c2e4d60dd91da44d6605b0a6cbe224098e2 (patch)
tree53591b1b95b6df88b2cf97b5a558bc037a91f1c3 /usr.bin/diff/diff.h
parentsimplify synopsis and usage(); from Igor Sobrado (diff)
downloadwireguard-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