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
F168964738: D19712.diff
Sun, Aug 30, 11:54 PM
F168908190: D19712.id55451.diff
Sun, Aug 30, 5:12 PM
F168810188: D19712.id55767.diff
Sun, Aug 30, 6:35 AM
Unknown Object (File)
Sat, Aug 29, 9:12 AM
Unknown Object (File)
Fri, Aug 28, 11:50 PM
Unknown Object (File)
Thu, Aug 27, 6:10 AM
Unknown Object (File)
Tue, Aug 25, 5:41 AM
Unknown Object (File)
Mon, Aug 24, 11:23 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.