commit | 7a9059e8ed297a8e025c843b632c7c8571682b46 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Mon Jan 16 19:07:18 2017 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Mon Jan 16 19:14:42 2017 -0700 |
tree | 81903fdcc66a09b3362c491276a5c7581d2585d4 | |
parent | 24ef15bd009204b73ebf0e94ba3d868177a5f44c [diff] |
Wrap all installd operations in lock. Historically installd has a single lock up in the framework, but we're starting to call in from multiple locations, so installd needs to protect itself. This specifically applies to any disk measurement requests, which use the optimized fts(3) mode which uses chdir() internally. Test: builds, boots, common operations work Bug: 34330051 Change-Id: Ic746ea890ebcc7b2bf923404874b04dbc19d42ad