Systemd/src/boot
Harald Hoyer 92ed3bb49e sd-boot: put hashed kernel command line in a PCR of the TPM
The UEFI BIOS already hashes the contents of the loaded image, so the
initrd and the command line of the binary are recorded.

Because manually added LoadOptions are not taken into account, these
should be recorded also.

This patch logs and extends a TPM PCR register with the LoadOptions.

This feature can be enabled with configure --enable-tpm

The PCR register index can be specified with
configure --with-tpm-pcrindex=<NUM>
2016-02-11 17:48:09 +01:00
..
efi sd-boot: put hashed kernel command line in a PCR of the TPM 2016-02-11 17:48:09 +01:00
bootctl.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
Makefile boot: add stub Makefile symlink 2013-02-13 02:19:03 +01:00