Page MenuHomeFreeBSD

tpm: Add a cv_wait to the harvesting function.
ClosedPublic

Authored by kd on Mar 26 2019, 11:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Aug 2, 5:44 AM
Unknown Object (File)
Thu, Jul 30, 1:06 PM
Unknown Object (File)
Sun, Jul 26, 2:37 PM
Unknown Object (File)
Sat, Jul 25, 2:44 AM
Unknown Object (File)
Wed, Jul 8, 10:21 AM
Unknown Object (File)
Wed, Jul 8, 12:52 AM
Unknown Object (File)
Wed, Jul 8, 12:51 AM
Unknown Object (File)
Tue, Jul 7, 10:38 PM
Subscribers

Details

Summary

Harvesting has to compete for the TPM chip with userspace.
Before this change the callout could hijack an unread buffer causing a userspace call to the TPM to fail.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Apr 3 2019, 7:40 AM
This revision was automatically updated to reflect the committed changes.