IMA: clean up the IMA counts updating code
authorEric Paris <eparis@redhat.com>
Fri, 4 Dec 2009 20:48:00 +0000 (15:48 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 16 Dec 2009 17:16:46 +0000 (12:16 -0500)
commite0d5bd2aec4e69e720ee86958503923cafb45be5
tree07ad4c96ad5c680f8a6b1f8152269af23944dc5d
parent9353384ec8128cb443463016bbabb44ca857ff52
IMA: clean up the IMA counts updating code

We currently have a lot of duplicated code around ima file counts.  Clean
that all up.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
security/integrity/ima/ima.h
security/integrity/ima/ima_main.c