commit | 94e5d714f604d4cb4cb13163f01ede278e69258b | [log] [tgz] |
---|---|---|
author | Mimi Zohar <zohar@linux.vnet.ibm.com> | Fri Jun 26 14:05:27 2009 -0400 |
committer | James Morris <jmorris@namei.org> | Mon Jun 29 08:59:10 2009 +1000 |
tree | 1f7f50f5eddf74e6930eaf0384538549f263b8fe | |
parent | 79b854c549c62c54fa27f87e04465c01db889f8d [diff] |
integrity: add ima_counts_put (updated) 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>