Re-issue TpmCanAttemptOwnership on each boot if needed
If owning a tpm was interrupted after TpmCanAttemptOwnership was issued but before the tpm was owned, the tpm could forever remain uninitialized. Re-issue the command on each boot if cryptohomed does not report that the tpm is ready to make sure the signal is not missed. The command is relatively cheap in any case - it launches an async thread that checks if all initializations are done, and performs only the missing stages. R=alemate@chromium.org Bug: b/66923649 Change-Id: I3be0c4c8ee8fd2c21ddab930346c1a1deb069135 Reviewed-on: https://chromium-review.googlesource.com/688763Reviewed-by:Darren Krahn <dkrahn@chromium.org> Reviewed-by:
Alexander Alekseev <alemate@chromium.org> Reviewed-by:
Mattias Nissler <mnissler@chromium.org> Reviewed-by:
Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: Andrey Pronin <apronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#510111}
Showing
Please register or sign in to comment