diff options
author | Roberto Sassu <roberto.sassu@huawei.com> | 2021-05-28 09:38:07 +0200 |
---|---|---|
committer | Mimi Zohar <zohar@linux.ibm.com> | 2021-06-01 21:17:30 +0200 |
commit | 7dcfeacc5a9d0c130160b86de23279793a8732c8 (patch) | |
tree | 13a5d74a73aa57480cb9cc947abdc2535be72681 /Documentation/security | |
parent | ima: Add ima_show_template_uint() template library function (diff) | |
download | linux-7dcfeacc5a9d0c130160b86de23279793a8732c8.tar.xz linux-7dcfeacc5a9d0c130160b86de23279793a8732c8.zip |
ima: Define new template fields iuid and igid
This patch defines the new template fields iuid and igid, which include
respectively the inode UID and GID. For idmapped mounts, still the original
UID and GID are provided.
These fields can be used 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>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'Documentation/security')
-rw-r--r-- | Documentation/security/IMA-templates.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/security/IMA-templates.rst b/Documentation/security/IMA-templates.rst index 9f3e86ab028a..bf8ce4cf5878 100644 --- a/Documentation/security/IMA-templates.rst +++ b/Documentation/security/IMA-templates.rst @@ -75,6 +75,8 @@ descriptors by adding their identifier to the format string - 'modsig' the appended file signature; - 'buf': the buffer data that was used to generate the hash without size limitations; - 'evmsig': the EVM portable signature; + - 'iuid': the inode UID; + - 'igid': the inode GID; Below, there is the list of defined template descriptors: |