]> 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)
commite6182f4fac9463df42458752424e60da6be3ec48
tree4aa54f988efc980c6f5ec7845fda7761fa667c16
parent0adcacfbca41f3f22eddcb9dc162276f2fed6f1a
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: 3e251db 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