Bugzilla – Attachment 1065 Details for
Bug 1129
sshd hangs for command-only invocations due to fork/child signals
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Move debug from signal handler
sigchlddebug.diff (text/plain), 759 bytes, created by
Damien Miller
on 2006-02-12 12:41:47 AEDT
(
hide
)
Description:
Move debug from signal handler
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2006-02-12 12:41:47 AEDT
Size:
759 bytes
patch
obsolete
>Index: serverloop.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/serverloop.c,v >retrieving revision 1.126 >diff -u -p -r1.126 serverloop.c >--- serverloop.c 10 Feb 2006 01:44:26 -0000 1.126 >+++ serverloop.c 12 Feb 2006 01:41:23 -0000 >@@ -151,7 +151,6 @@ static void > sigchld_handler(int sig) > { > int save_errno = errno; >- debug("Received SIGCHLD."); > child_terminated = 1; > signal(SIGCHLD, sigchld_handler); > notify_parent(); >@@ -752,6 +751,7 @@ collect_children(void) > sigaddset(&nset, SIGCHLD); > sigprocmask(SIG_BLOCK, &nset, &oset); > if (child_terminated) { >+ debug("Received SIGCHLD."); > while ((pid = waitpid(-1, &status, WNOHANG)) > 0 || > (pid < 0 && errno == EINTR)) > if (pid > 0)
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 1129
:
1034
|
1035
| 1065