commit | d8caf9e316cca8a76bc9ae85f8b26ec8e82a5793 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Mon Feb 13 16:36:18 2017 -0800 |
committer | Josh Gao <jmgao@google.com> | Mon Feb 13 17:01:24 2017 -0800 |
tree | 98fb77b8170ab1478cd6c37a6af8c92bc14ad074 | |
parent | 8f2be28d91e03823bcf36a0cc43e8e58471358d2 [diff] |
debuggerd_handler: don't use waitpid(..., __WCLONE). waitpid(..., __WCLONE) fails with ECHILD when passed an explicit PID to wait for. __WALL and __WCLONE don't seem to be necessary when waiting for a specific pid, so just pass 0 in the flags instead. Bug: http://b/35327712 Test: /data/nativetest/debuggerd_test/debuggerd_test32 --gtest_filter="*zombie*" Change-Id: I3dd7a1bdf7ff35fdfbf631429c089ef4e3172855