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
F161964023: D19712.diff
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
Unknown Object (File)
Sat, Jul 4, 5:58 PM
Unknown Object (File)
Fri, Jul 3, 10:44 AM
Unknown Object (File)
Fri, Jul 3, 6:53 AM
Unknown Object (File)
Jun 9 2026, 1:09 AM
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.