efi: measure kernel command line
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest2 patches 0 repliesNew
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | efi/libstub: refactor the initrd measuring functionsdrivers/ | +77 | 0 replies | |
| 2/2 | efi/libstub: measure EFI LoadOptionsdrivers/ drivers/ | +11 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] efi: measure kernel command line
Measuring the kernel command line (or more generically, image load options in EFI parlance) is not covered by the TCG spec, which only reasons about images started as boot options.
Let's work around this oversight by measuring the kernel command line from the EFI stub itself. Since load options is essentially just a sequence of bytes, which happens to be interpreted as UTF-16 and subsequently converted into ASCII before being used as the kernel command line, let's just measure the whole thing and not the resulting ASCII string.
Cc Peter Jones <[email protected]>
Cc Matthew Garrett <[email protected]>
Cc Daniel Kiper <[email protected]>
Cc Ilias Apalodimas <[email protected]>
Cc "Xu, Min M" <[email protected]>
Ilias Apalodimas (2):
efi/libstub: refactor the initrd measuring functions efi/libstub: measure EFI LoadOptions
drivers/firmware/efi/libstub/efi-stub-helper.c | 130 +++++++++++++------- drivers/firmware/efi/libstub/efistub.h | 1 + 2 files changed, 88 insertions(+), 43 deletions(-)
Signature · 1 line
2.35.1