integrity: add ima_counts_put (updated)
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Fri, 26 Jun 2009 18:05:27 +0000 (14:05 -0400)
committerJames Morris <jmorris@namei.org>
Sun, 28 Jun 2009 22:59:10 +0000 (08:59 +1000)
This patch fixes an imbalance message as reported by J.R. Okajima.
The IMA file counters are incremented in ima_path_check. If the
actual open fails, such as ETXTBSY, decrement the counters to
prevent unnecessary imbalance messages.

Reported-by: J.R. Okajima <hooanon05@yahoo.co.jp>
Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>

No differences found