1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-26 03:22:00 +03:00

stub: add comment on measurement of io.systemd.stub.kernel-cmdline-extra

This commit is contained in:
Luca Boccassi 2023-04-23 18:33:24 +01:00 committed by Luca Boccassi
parent f997f91d7d
commit 54e4b42fde

View File

@ -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);