hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/Documentation/security/IMA-templates.rst
....@@ -68,16 +68,20 @@
6868 - 'd-ng': the digest of the event, calculated with an arbitrary hash
6969 algorithm (field format: [<hash algo>:]digest, where the digest
7070 prefix is shown only if the hash algorithm is not SHA1 or MD5);
71
+ - 'd-modsig': the digest of the event without the appended modsig;
7172 - 'n-ng': the name of the event, without size limitations;
72
- - 'sig': the file signature.
73
+ - 'sig': the file signature;
74
+ - 'modsig' the appended file signature;
75
+ - 'buf': the buffer data that was used to generate the hash without size limitations;
7376
7477
7578 Below, there is the list of defined template descriptors:
7679
7780 - "ima": its format is ``d|n``;
7881 - "ima-ng" (default): its format is ``d-ng|n-ng``;
79
- - "ima-sig": its format is ``d-ng|n-ng|sig``.
80
-
82
+ - "ima-sig": its format is ``d-ng|n-ng|sig``;
83
+ - "ima-buf": its format is ``d-ng|n-ng|buf``;
84
+ - "ima-modsig": its format is ``d-ng|n-ng|sig|d-modsig|modsig``;
8185
8286
8387 Use