]> git.baikalelectronics.ru Git - kernel.git/commit
ima: do not include field length in template digest calc for ima template
authorRoberto Sassu <roberto.sassu@polito.it>
Fri, 8 Nov 2013 18:21:39 +0000 (19:21 +0100)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Mon, 25 Nov 2013 12:26:28 +0000 (07:26 -0500)
commitcf4ee77a0eded1a5ad09688bba21e798cf38ebf9
tree4aa54f988efc980c6f5ec7845fda7761fa667c16
parent2bff032d6ae6e7992543c288bf4fde292c1c6121
ima: do not include field length in template digest calc for ima template

To maintain compatibility with userspace tools, the field length must not
be included in the template digest calculation for the 'ima' template.

Fixes commit: f559449 ima: switch to new template management mechanism

Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
security/integrity/ima/ima.h
security/integrity/ima/ima_api.c
security/integrity/ima/ima_crypto.c