diff options
author | James Bottomley <[email protected]> | 2019-12-12 12:58:35 -0500 |
---|---|---|
committer | Jarkko Sakkinen <[email protected]> | 2019-12-17 11:46:43 +0200 |
commit | 45477b3fe3d10376b649b1b85fce72b2f9f1da84 (patch) | |
tree | f69752a69b3338d21d95331963c7c86133d62cbf /lib/netdev-notifier-error-inject.c | |
parent | 21df4a8b6018b842d4db181a8b24166006bad3cd (diff) |
security: keys: trusted: fix lost handle flush
The original code, before it was moved into security/keys/trusted-keys
had a flush after the blob unseal. Without that flush, the volatile
handles increase in the TPM until it becomes unusable and the system
either has to be rebooted or the TPM volatile area manually flushed.
Fix by adding back the lost flush, which we now have to export because
of the relocation of the trusted key code may cause the consumer to be
modular.
Signed-off-by: James Bottomley <[email protected]>
Fixes: 2e19e10131a0 ("KEYS: trusted: Move TPM2 trusted keys code")
Reviewed-by: Jerry Snitselaar <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions