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

From: Mimi Zohar
Date: Mon Jun 29 2009 - 07:08:31 EST


On Mon, 2009-06-29 at 08:50 +1000, James Morris wrote:
> 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.

Ok

> Have you tested this using the original test case?

Yes, the patch resolves the iint_free() message.

Mimi

--
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/