Re: [PATCH] IMA: update ima_counts_put
From: Eric Paris
Date: Sun Sep 06 2009 - 18:06:02 EST
On Fri, Sep 4, 2009 at 1:08 PM, Mimi Zohar<zohar@xxxxxxxxxxxxxxxxxx> wrote:
> - As ima_counts_put() may be called after the inode has been freed,
> verify that the inode is not NULL, before dereferencing it.
>
> - Maintain the IMA file counters in may_open() properly, decrementing
> any counter increments on subsequent errors.
This is a 2.6.31 regression introduced in 94e5d714f604d4cb4cb13
James can you push it along?
Acked-by: Eric Paris <eparis@xxxxxxxxxx
--
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/