commit | 036ff2ce83e07a6a7ad0ca339cb2c8f410fc2667 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Wed Mar 16 20:19:44 2016 -0700 |
committer | Josh Gao <jmgao@google.com> | Thu Mar 17 13:11:08 2016 -0700 |
tree | bb09fb9e93aaba2f26b5a2db3ec00e27ad6246a4 | |
parent | e5dbdd09c74b2f62e5a633f76613c6341bc9ab17 [diff] |
debuggerd: monitor the worker process for failure. Use sigtimedwait on SIGCHLD to watch our forked worker processes for failure, so that we can guarantee that we always resume/kill the target process if libunwind crashes. Bug: http://b/27427439 Change-Id: I5a5da1f1abd7dc9d01223f5b3778e946e2d47d20 (cherry picked from commit 630bc80e185f0c596a15822b67c62a0ecd6c982c)