From 54e4b42fded7820654ccd95dfe076b274d84757d Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Sun, 23 Apr 2023 18:33:24 +0100 Subject: stub: add comment on measurement of io.systemd.stub.kernel-cmdline-extra --- src/boot/efi/stub.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/boot') diff --git a/src/boot/efi/stub.c b/src/boot/efi/stub.c index 6339d82ddc..eb4bd77ac3 100644 --- a/src/boot/efi/stub.c +++ b/src/boot/efi/stub.c @@ -277,6 +277,7 @@ static EFI_STATUS run(EFI_HANDLE image) { mangle_stub_cmdline(cmdline); } + /* SMBIOS strings are measured in PCR1, so we do not re-measure these command line extensions. */ const char *extra = smbios_find_oem_string("io.systemd.stub.kernel-cmdline-extra"); if (extra) { _cleanup_free_ char16_t *tmp = TAKE_PTR(cmdline), *extra16 = xstr8_to_16(extra); -- cgit v1.2.1