OpenCloudOS-Kernel/security/integrity/ima
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 <docan@eden.rutgers.edu>
Reported-by: J.R. Okajima <hooanon05@yahoo.co.jp>
Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Acked-by: Eric Paris <eparis@redhat.com
Signed-off-by: James Morris <jmorris@namei.org>
2009-09-07 11:54:58 +10:00
..
Kconfig ima: fix build error 2009-02-13 09:27:56 +11:00
Makefile integrity: IMA display 2009-02-06 09:05:31 +11:00
ima.h integrity: audit update 2009-02-12 09:40:14 +11:00
ima_api.c integrity: audit update 2009-02-12 09:40:14 +11:00
ima_audit.c IMA: use current_cred() instead of current->cred 2009-05-12 11:06:01 +10:00
ima_crypto.c ima: hashing large files bug fix 2009-08-24 14:58:29 +10:00
ima_fs.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6 2009-06-11 10:01:41 -07:00
ima_iint.c IMA: Add __init notation to ima functions 2009-05-22 09:34:21 +10:00
ima_init.c IMA: Add __init notation to ima functions 2009-05-22 09:34:21 +10:00
ima_main.c IMA: update ima_counts_put 2009-09-07 11:54:58 +10:00
ima_policy.c IMA: Add __init notation to ima functions 2009-05-22 09:34:21 +10:00
ima_queue.c integrity: ima audit hash_exists fix 2009-06-29 08:57:49 +10:00