Bugzilla – Attachment 1766 Details for
Bug 1692
sshd sometimes dies when sent multiple SIGHUPs in quick succession
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ignore SIGHUP across sshd re-exec window
sshd-multiple-sighup.patch (text/plain), 362 bytes, created by
Colin Watson
on 2010-01-06 01:41:11 AEDT
(
hide
)
Description:
ignore SIGHUP across sshd re-exec window
Filename:
MIME Type:
Creator:
Colin Watson
Created:
2010-01-06 01:41:11 AEDT
Size:
362 bytes
patch
obsolete
>=== modified file 'sshd.c' >--- sshd.c 2009-12-08 02:39:48 +0000 >+++ sshd.c 2010-01-05 14:21:39 +0000 >@@ -306,6 +306,7 @@ static void > sighup_restart(void) > { > logit("Received SIGHUP; restarting."); >+ signal(SIGHUP, SIG_IGN); /* will be restored after exec */ > close_listen_socks(); > close_startup_pipes(); > alarm(0); /* alarm timer persists across exec */ >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1692
: 1766