commit | e61bb742bfc7e7d51df7c95e9e8720e38cb837c9 | [log] [tgz] |
---|---|---|
author | Jing Ji <jji@google.com> | Thu Jul 22 12:28:04 2021 -0700 |
committer | Jing Ji <jji@google.com> | Thu Jul 22 12:28:04 2021 -0700 |
tree | 1f3f01d7fdfe366db2ef2851340e35a8d2a9be0b | |
parent | 61d71ccaae87b025a71b839e0e0dddf97712868c [diff] |
Fix potential FD leak with PhantomProcessRecord bookkeeping We're tracking the phantom processes with the combination of its process name and pid/uid, while if the process name changes it'll be removed from the internal bookkeping, we should close the FD to that process upon then. Bug: 194146206 Test: atest AppChildProcessTest Test: atest CtsAppTestCases:ActivityManagerTest Change-Id: I62064afe55aa8bc51a2d523bc5d8fe6e97f171a8