]> 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)
commit23ac9d4e5a30e8d00f4ff9ff1a7244517ef7aa32
tree755c29562e348bc3b3f30c5a402d00d8eea77b75
parente3b329b550f05f30651c4794e9e952ae6e909062
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