android_kernel_xiaomi_sm8350/security/integrity/ima
Mimi Zohar 94e5d714f6 integrity: add ima_counts_put (updated)
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.

Reported-by: J.R. Okajima <hooanon05@yahoo.co.jp>
Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
2009-06-29 08:59:10 +10: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: Add __init notation to ima functions 2009-05-22 09:34:21 +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 integrity: add ima_counts_put (updated) 2009-06-29 08:59:10 +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
ima.h integrity: audit update 2009-02-12 09:40:14 +11:00
Kconfig ima: fix build error 2009-02-13 09:27:56 +11:00
Makefile