summaryrefslogtreecommitdiff
path: root/canohost.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2007-02-25 20:37:21 +1100
committerDarren Tucker <dtucker@zip.com.au>2007-02-25 20:37:21 +1100
commited623966e30140cb5c3f13e491338887a52c2522 (patch)
tree349a4d2a8acb927f5034ba2b2d29a58ddf71567f /canohost.c
parentd04188e70e17b317076f4c7af3359dc439e43f0b (diff)
- dtucker@cvs.openbsd.org 2007/02/21 11:00:05
[sshd.c] 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 'canohost.c')
0 files changed, 0 insertions, 0 deletions