From: Mimi Zohar Date: Fri, 26 Jun 2009 18:05:27 +0000 (-0400) Subject: integrity: add ima_counts_put (updated) X-Git-Tag: v2.6.31-rc2~67^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94e5d714f604d4cb4cb13163f01ede278e69258b;p=pandora-kernel.git 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 Signed-off-by: Mimi Zohar Signed-off-by: James Morris --- Reading git-diff-tree failed