diff options
author | Janis Danisevskis <jdanis@google.com> | 2017-03-29 14:50:01 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2017-03-30 00:11:48 +0000 |
commit | 9cc51728af87d476de1b90e0f8dba62b3fc8711f (patch) | |
tree | 516585f5286069c240d16a992f144846a5d6564b /debuggerd/debuggerd_test.cpp | |
parent | 6fb2ef1d03ffad5b9253647daf0fcc6888b2aac4 (diff) |
Make init builtin command installkey respect property updates
init used to block on installkey such that it was unable to
process property events. This lead to a deadlock by which
the Keymaster HAL would wait indefinitely for the
hwservicemanager.ready=true.
This fixes the issue by implementing the builtin in terms of
do_exec, which allows init to stay responsive to properties
while waiting for the child to terminate.
Bug: 36278706
Test: Add a 3s delay into hwservicemanager before it sets the property
hwservicemanager.ready and the device still boots.
Change-Id: Iaefd31156ca01f3a44b4f85a8bf78beee8dfe224
Diffstat (limited to 'debuggerd/debuggerd_test.cpp')
0 files changed, 0 insertions, 0 deletions