]> git.ipfire.org Git - thirdparty/systemd.git/commit
pcrextend: allow access to the userspace event type field when measuring something
authorLennart Poettering <lennart@amutable.com>
Wed, 11 Feb 2026 13:28:02 +0000 (14:28 +0100)
committerLennart Poettering <lennart@amutable.com>
Tue, 17 Feb 2026 21:00:13 +0000 (22:00 +0100)
commitbe36f69c90d530ea12173eaa17be87685a7f799d
treeec40a826d662e31dde62974415bef93296c1e6df
parentd84d17853e120d2074d7f1a973fc965c6f7200f9
pcrextend: allow access to the userspace event type field when measuring something

It think we should move most measurements out of the individual tools
requesting them and into the pcrextend service via Varlink, so that
fewer components require access to the TPM.

This only works however, if we can actually write full-blown event log
records via this mechanism, and for that we still were missing access to
the userspace event type we insert into the event log. Add that.
src/pcrextend/pcrextend.c
src/shared/varlink-io.systemd.PCRExtend.c