ima: pass the filename argument up to ima_add_template_entry()
authorRoberto Sassu <roberto.sassu@polito.it>
Fri, 7 Jun 2013 10:16:27 +0000 (12:16 +0200)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Fri, 25 Oct 2013 21:17:03 +0000 (17:17 -0400)
commit9803d413f41db86fdf0097f1af781fe2e68f474c
treecbfdd18431034357ccceb0e01b7739708622fc41
parent7d802a227b7f26c89f13dab09767e6b0aebd9c9f
ima: pass the filename argument up to ima_add_template_entry()

Pass the filename argument to ima_add_template_entry() in order to
eliminate a dependency on template specific data (third argument of
integrity_audit_msg).

This change is required because, with the new template management
mechanism, the generation of a new measurement entry will be performed
by new specific functions (introduced in next patches) and the current IMA
code will not be aware anymore of how data is stored in the entry payload.

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_init.c
security/integrity/ima/ima_queue.c