diff options
author | Matt Bobrowski <mattbobrowski@google.com> | 2023-01-04 03:41:44 +0000 |
---|---|---|
committer | Mimi Zohar <zohar@linux.ibm.com> | 2023-01-18 13:17:00 -0500 |
commit | 6dc387d52eb67f45d68caa263704fa4e39ef8e76 (patch) | |
tree | c78337ecff8bce07c9fe4837287db92d00f8e858 /COPYING | |
parent | 5dc4c995db9eb45f6373a956eb1f69460e69e6d4 (diff) |
ima: fix error handling logic when file measurement failed
Restore the error handling logic so that when file measurement fails,
the respective iint entry is not left with the digest data being
populated with zeroes.
Fixes: 54f03916fb89 ("ima: permit fsverity's file digests in the IMA measurement list")
Cc: stable@vger.kernel.org # 5.19
Signed-off-by: Matt Bobrowski <mattbobrowski@google.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions