IMA: Add __init notation to ima functions
authorEric Paris <eparis@redhat.com>
Thu, 21 May 2009 19:43:32 +0000 (15:43 -0400)
committerJames Morris <jmorris@namei.org>
Thu, 21 May 2009 23:34:21 +0000 (09:34 +1000)
commit932995f0ce52525b32ff5127b522c2c164de3810
tree648cfe2ac09025eb3922d2a84ed983a7ac70a060
parent5789ba3bd0a3cd20df5980ebf03358f2eb44fd67
IMA: Add __init notation to ima functions

A number of IMA functions only used during init are not marked with __init.
Add those notations so they are freed automatically.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Mimi Zohar <zohar@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/integrity/ima/ima_crypto.c
security/integrity/ima/ima_fs.c
security/integrity/ima/ima_iint.c
security/integrity/ima/ima_init.c
security/integrity/ima/ima_policy.c