commit | 2538e20d627f4af8727099caa3423bd3060c669d | [log] [tgz] |
---|---|---|
author | Tim Murray <timmurray@google.com> | Thu Feb 17 12:36:33 2022 -0800 |
committer | Tim Murray <timmurray@google.com> | Wed Feb 23 22:20:18 2022 +0000 |
tree | dec0482725b355c89b4f9ca17c3b885a0ae6fc37 | |
parent | 7f9d05c6d240c7eb1eba10a96936f423c0cf50ed [diff] |
incidentd: fix race in waitpid_with_timeout waitpid_with_timeout has a race between a child process exiting and the signal being blocked. Add an early waitpid to detect a child that exited quickly. Test: TH Bug: 215574756 Change-Id: I6c7e9998d5b848c6144769f218fbcd7a0ee154bf (cherry picked from commit 1f3012d2235276348edda1f8a0564c223b7aff8e)