diff --git a/man/systemd-pcrphase.service.xml b/man/systemd-pcrphase.service.xml index 807317a7de..fe7b58933b 100644 --- a/man/systemd-pcrphase.service.xml +++ b/man/systemd-pcrphase.service.xml @@ -204,6 +204,30 @@ + + Files + + + + /var/log/systemd/tpm2-measure.log + + Measurements are logged into an event log file maintained in + /var/log/systemd/tpm2-measure.log, which contains a JSON-SEQ series of objects that follow the + general structure of the TCG Common Event Log + Format (CEL-JSON) event objects (but lack the recnum + field). + + A LOCK_EX BSD file lock (flock2) on + the log file is acquired while the measurement is made and the file is updated. Thus, applications + that intend to acquire a consistent quote from the TPM with the associated snapshot of the event log + should acquire a LOCK_SH lock while doing so. + + + + See Also