Re: [PATCH v2 06/15] ima: add parser of digest lists metadata

From: Serge E. Hallyn
Date: Fri Nov 17 2017 - 23:20:51 EST


On Tue, Nov 07, 2017 at 11:37:01AM +0100, Roberto Sassu wrote:
> from a predefined position (/etc/ima/digest_lists/metadata), when rootfs
> becomes available. Digest lists must be loaded before IMA appraisal is in
> enforcing mode.

I'm sure there's a good reason for it, but this seems weird to me.
Why read it from a file on disk instead of accepting it through say
a securityfile write?