diff options
Diffstat (limited to 'security/integrity/ima/ima_main.c')
-rw-r--r-- | security/integrity/ima/ima_main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/security/integrity/ima/ima_main.c b/security/integrity/ima/ima_main.c index 53cee4c512ce..871e356e8d6c 100644 --- a/security/integrity/ima/ima_main.c +++ b/security/integrity/ima/ima_main.c | |||
@@ -274,6 +274,11 @@ static int __init init_ima(void) | |||
274 | return error; | 274 | return error; |
275 | } | 275 | } |
276 | 276 | ||
277 | static void __exit cleanup_ima(void) | ||
278 | { | ||
279 | ima_cleanup(); | ||
280 | } | ||
281 | |||
277 | late_initcall(init_ima); /* Start IMA after the TPM is available */ | 282 | late_initcall(init_ima); /* Start IMA after the TPM is available */ |
278 | 283 | ||
279 | MODULE_DESCRIPTION("Integrity Measurement Architecture"); | 284 | MODULE_DESCRIPTION("Integrity Measurement Architecture"); |