FreeBSD Bugzilla – Attachment 152960 Details for
Bug 197608
timeout(1) does not handle zombie grandchildren
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Check the monitoring pid on sigchld
timeout.c.diff (text/plain), 480 bytes, created by
Baptiste Daroussin
on 2015-02-14 09:41:13 UTC
(
hide
)
Description:
Check the monitoring pid on sigchld
Filename:
MIME Type:
Creator:
Baptiste Daroussin
Created:
2015-02-14 09:41:13 UTC
Size:
480 bytes
patch
obsolete
>Index: timeout.c >=================================================================== >--- timeout.c (revision 278744) >+++ timeout.c (working copy) >@@ -296,6 +296,16 @@ > cpid = pid; > break; > } >+ if (info.rs_children == 1) { >+ while ((waitpid(pid, &status, 0) <0) && >+ errno == EINTR) >+ continue; >+ if (WIFEXITED(status)) { >+ cpid = pid; >+ pstat = status; >+ break; >+ } >+ } > } > } else if (sig_alrm) { > sig_alrm = 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 197608
:
152953
| 152960 |
152967
|
152974