Re: [PATCH v5 2/5] efi: Add embedded peripheral firmware support

From: Luis R. Rodriguez
Date: Thu May 03 2018 - 18:23:37 EST


On Tue, May 01, 2018 at 03:27:27PM -0400, Mimi Zohar wrote:
> On Tue, 2018-05-01 at 21:11 +0200, Hans de Goede wrote:
> > Only the pre hook? I believe the post-hook should still be called too,
> > right? So that we've hashes of all loaded firmwares in the IMA core.
>
> Good catch!  Right, if IMA-measurement is enabled, then we would want
> to add the measurement.

Mimi, just a heads up, we only use the post hook for the syfs fallback
mechanism, ie, we don't even use the post hook for direct fs lookup.
Do we want that there?

Luis