[PATCH v10 08/12] ima: Factor xattr_verify() out of ima_appraise_measurement()
Mimi Zohar
zohar at linux.ibm.com
Thu May 9 15:53:27 UTC 2019
On Thu, 2019-04-18 at 00:51 -0300, Thiago Jung Bauermann wrote:
> Verify xattr signature in a separate function so that the logic in
> ima_appraise_measurement() remains clear when it gains the ability to also
> verify an appended module signature.
>
> The code in the switch statement is unchanged except for having to
> dereference the status and cause variables (since they're now pointers),
> and fixing the style of a block comment to appease checkpatch.
>
> Suggested-by: Mimi Zohar <zohar at linux.ibm.com>
> Signed-off-by: Thiago Jung Bauermann <bauerman at linux.ibm.com>
Reviewed-by: Mimi Zohar <zohar at linux.ibm.com>
More information about the Linux-security-module-archive
mailing list