integrity: ima audit dentry_open failure
commit04288f42033607099cebf5ca15ce8dcec3a9688b
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Thu, 4 Jun 2009 17:53:10 +0000 (4 13:53 -0400)
committerJames Morris <jmorris@namei.org>
Thu, 4 Jun 2009 22:02:39 +0000 (5 08:02 +1000)
tree41d07beeefcadc4c591699c779406f556cc3433b
parentbcb86975dbcc24f820f1a37918d53914af29ace7
integrity: ima audit dentry_open failure

Until we start appraising measurements, the ima_path_check()
return code should always be 0.

- Update the ima_path_check() return code comment
- Instead of the pr_info, audit the dentry_open failure

Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Acked-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/integrity/ima/ima_main.c