Re: [PATCH] integrity: add ima_counts_put (updated)

From: James Morris
Date: Sun Jun 28 2009 - 18:50:16 EST


On Fri, 26 Jun 2009, Mimi Zohar wrote:

> 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.
>
> Signed-off-by: Mimi Zohar <zohar@xxxxxxxxxx>

Don't forget to use "Reported-by:" lines for the bug reporter.

Have you tested this using the original test case?


--
James Morris
<jmorris@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/