diff options
author | Nikita Ioffe <ioffe@google.com> | 2019-12-04 17:47:37 +0000 |
---|---|---|
committer | Nikita Ioffe <ioffe@google.com> | 2019-12-04 17:47:37 +0000 |
commit | 1f40c94a1ffa5e406fd9626b52ee8f55b41dc944 (patch) | |
tree | c6287315c0fd5c8ed2f33bd40dae372f6de492b9 /trusty/coverage/coverage_test.cpp | |
parent | 57d7bb695b644db0674c37a4d7114f9ec65867ed (diff) |
FscryptInstallKeyring: don't re-create keyring if it's already created
During userspace reboot FscryptInstallKeyring will be called again, this
CL will make it second call a no-op, which IMHO is better than having a
special logic in init to conditionally call FscryptInstallKeyring
depending on whenever it's normal boot, or userspace reboot.
Test: adb reboot userspace
Test: checked in kernel logs that new keyring is not created
Bug: 135984674
Change-Id: I4ad5aee6887b7318fb1cd02bf1c7be8da6ece599
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions