]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5ddcc34e1d5e097f417f0b262f75e45c9afdfb9b
tree755c29562e348bc3b3f30c5a402d00d8eea77b75
parent54448d4f76249fcdc332a7c4ca0259ad089cbd52
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