diff options
| author | 2022-02-17 12:36:33 -0800 | |
|---|---|---|
| committer | 2022-02-23 22:20:18 +0000 | |
| commit | 2538e20d627f4af8727099caa3423bd3060c669d (patch) | |
| tree | dec0482725b355c89b4f9ca17c3b885a0ae6fc37 /libs/androidfw/StringPool.cpp | |
| 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)
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions