ima: pass the file descriptor to ima_add_violation()
authorRoberto Sassu <roberto.sassu@polito.it>
Fri, 7 Jun 2013 10:16:26 +0000 (12:16 +0200)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Fri, 25 Oct 2013 21:17:02 +0000 (17:17 -0400)
commit7d802a227b7f26c89f13dab09767e6b0aebd9c9f
tree755c29562e348bc3b3f30c5a402d00d8eea77b75
parent09ef54359c4ad49c01a12503b2c510b424ecf059
ima: pass the file descriptor to ima_add_violation()

Pass the file descriptor instead of the inode to ima_add_violation(),
to make the latter consistent with ima_store_measurement() in
preparation for the new template architecture.

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_main.c