commit | f151a15ce9949b46c932321ec289b97ae883e45f | [log] [tgz] |
---|---|---|
author | Jing Ji <jji@google.com> | Tue May 02 10:26:48 2023 -0700 |
committer | Jing Ji <jji@google.com> | Wed May 03 16:31:46 2023 -0700 |
tree | bda7b30540f2f104fa8c5b1fd64cb5c6b35f2280 | |
parent | d06a6b54c2064db79cf862b93b3aa2408a72ebd7 [diff] |
Fix the race condition between creating and killing process group Framework takes care of the process group creation for the processes forked by webview and app zygote. There is a small window between the fork and the process group creation, if the process is deemed to be killed during that window, the process group creation would fail and crash the system. Now add a lock around that. Bug: 270103958 Test: Manual Change-Id: Id602d9cd5243b7726d88e2fa40fd3d3431086a64