Files
Linux/security
Mimi Zohar acd0c93517 IMA: update ima_counts_put
- 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.

Reported-by: Ciprian Docan <[email protected]>
Reported-by: J.R. Okajima <[email protected]>
Signed-off-by: Mimi Zohar <[email protected]>
Acked-by: Eric Paris <[email protected]
Signed-off-by: James Morris <[email protected]>
2009-09-07 11:54:58 +10:00
..
2009-09-07 11:54:58 +10:00
2009-04-14 09:00:19 +10:00