OSDN Git Service

ima: fix 'd-ng' comments and documentation
authorMimi Zohar <zohar@linux.ibm.com>
Thu, 14 Apr 2022 20:46:39 +0000 (16:46 -0400)
committerMimi Zohar <zohar@linux.ibm.com>
Sun, 1 May 2022 20:38:10 +0000 (16:38 -0400)
commit644664627d21648735adfa733956f94064d3417d
treeb2a92325bb33c3cbde6e19d78f53b2504e2b9ad1
parent891163adf180bc369b2f11c9dfce6d2758d2a5bd
ima: fix 'd-ng' comments and documentation

Initially the 'd-ng' template field did not prefix the digest with either
"md5" or "sha1" hash algorithms.  Prior to being upstreamed this changed,
but the comments and documentation were not updated.  Fix the comments
and documentation.

Fixes: 4d7aeee73f53 ("ima: define new template ima-ng and template fields d-ng and n-ng")
Reported-by: Eric Biggers <ebiggers@kernel.org>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Documentation/security/IMA-templates.rst
security/integrity/ima/ima_template_lib.c