diff options
author | Dmitry Kasatkin <dmitry.kasatkin@intel.com> | 2012-01-29 19:19:08 -0500 |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2012-07-02 16:43:30 -0400 |
commit | 0ea4f8ae416a9e8d15f4e20680879358f620e8b8 (patch) | |
tree | 68c03378249e4d3c543f5c6bf3833774a3c58adb /security/integrity/ima | |
parent | 08e1b76ae399a010c0d0916b125d75aed6961d16 (diff) | |
download | blackbird-op-linux-0ea4f8ae416a9e8d15f4e20680879358f620e8b8.tar.gz blackbird-op-linux-0ea4f8ae416a9e8d15f4e20680879358f620e8b8.zip |
ima: free securityfs violations file
On ima_fs_init() error, free securityfs violations file.
Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Diffstat (limited to 'security/integrity/ima')
-rw-r--r-- | security/integrity/ima/ima_fs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/integrity/ima/ima_fs.c b/security/integrity/ima/ima_fs.c index e1aa2b482dd2..3fccc065a0fb 100644 --- a/security/integrity/ima/ima_fs.c +++ b/security/integrity/ima/ima_fs.c @@ -367,6 +367,7 @@ int __init ima_fs_init(void) return 0; out: + securityfs_remove(violations); securityfs_remove(runtime_measurements_count); securityfs_remove(ascii_runtime_measurements); securityfs_remove(binary_runtime_measurements); |