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)
Fri, Mar 6, 11:39 PM
Unknown Object (File)
Mon, Mar 2, 4:33 PM
Unknown Object (File)
Sat, Feb 28, 5:57 AM
Unknown Object (File)
Mon, Feb 23, 6:20 AM
Unknown Object (File)
Jan 2 2026, 11:10 AM
Unknown Object (File)
Dec 31 2025, 11:23 PM
Unknown Object (File)
Dec 30 2025, 12:19 PM
Unknown Object (File)
Dec 18 2025, 11:34 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.