verifiers: Verify commands executed by grub
Pass all commands executed by GRUB to the verifiers layer. Most verifiers will ignore this, but some (such as the TPM verifier) want to be able to measure and log each command executed in order to ensure that the boot state is as expected. Signed-off-by: Matthew Garrett <mjg59@google.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
90bb89f280
commit
8d6447d496
2 changed files with 18 additions and 14 deletions
|
@ -34,6 +34,7 @@ enum grub_verify_string_type
|
|||
{
|
||||
GRUB_VERIFY_KERNEL_CMDLINE,
|
||||
GRUB_VERIFY_MODULE_CMDLINE,
|
||||
GRUB_VERIFY_COMMAND,
|
||||
};
|
||||
|
||||
struct grub_file_verifier
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue