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>
Showing
- security/integrity/ima/ima_crypto.c 2 additions, 2 deletionssecurity/integrity/ima/ima_crypto.c
- security/integrity/ima/ima_fs.c 1 addition, 1 deletionsecurity/integrity/ima/ima_fs.c
- security/integrity/ima/ima_iint.c 1 addition, 1 deletionsecurity/integrity/ima/ima_iint.c
- security/integrity/ima/ima_init.c 2 additions, 2 deletionssecurity/integrity/ima/ima_init.c
- security/integrity/ima/ima_policy.c 1 addition, 1 deletionsecurity/integrity/ima/ima_policy.c
Loading
Please register or sign in to comment