diff options
author | Thiago Jung Bauermann <bauerman@linux.ibm.com> | 2019-06-28 04:19:29 +0200 |
---|---|---|
committer | Mimi Zohar <zohar@linux.ibm.com> | 2019-08-06 00:40:22 +0200 |
commit | a5fbeb615ca42f913ace3291d636e96feabcc545 (patch) | |
tree | 097d08e1d6a8b07ac324c12ee2f2f97b8403bf75 /security/integrity/digsig.c | |
parent | ima: Add modsig appraise_type option for module-style appended signatures (diff) | |
download | linux-a5fbeb615ca42f913ace3291d636e96feabcc545.tar.xz linux-a5fbeb615ca42f913ace3291d636e96feabcc545.zip |
ima: Factor xattr_verify() out of ima_appraise_measurement()
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@linux.ibm.com>
Signed-off-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'security/integrity/digsig.c')
0 files changed, 0 insertions, 0 deletions