ima: Define new template field imode
authorRoberto Sassu <roberto.sassu@huawei.com>
Fri, 28 May 2021 07:38:08 +0000 (09:38 +0200)
committerMimi Zohar <zohar@linux.ibm.com>
Tue, 1 Jun 2021 19:17:30 +0000 (15:17 -0400)
commitf8216f6b957f5657c5f4c97f4b037120c6f236bc
treece1daa6226b37167710857084645f6444d89b0ba
parent7dcfeacc5a9d0c130160b86de23279793a8732c8
ima: Define new template field imode

This patch defines the new template field imode, which includes the
inode mode. It can be used by a remote verifier to verify the EVM portable
signature, if it was included with the template fields sig or evmsig.

Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Documentation/security/IMA-templates.rst
security/integrity/ima/ima_template.c
security/integrity/ima/ima_template_lib.c
security/integrity/ima/ima_template_lib.h