summaryrefslogtreecommitdiffstats
path: root/security/integrity/ima
diff options
context:
space:
mode:
authorDmitry Kasatkin <dmitry.kasatkin@intel.com>2012-01-29 19:19:08 -0500
committerMimi Zohar <zohar@linux.vnet.ibm.com>2012-07-02 16:43:30 -0400
commit0ea4f8ae416a9e8d15f4e20680879358f620e8b8 (patch)
tree68c03378249e4d3c543f5c6bf3833774a3c58adb /security/integrity/ima
parent08e1b76ae399a010c0d0916b125d75aed6961d16 (diff)
downloadop-kernel-dev-0ea4f8ae416a9e8d15f4e20680879358f620e8b8.zip
op-kernel-dev-0ea4f8ae416a9e8d15f4e20680879358f620e8b8.tar.gz
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/integrity/ima/ima_fs.c b/security/integrity/ima/ima_fs.c
index e1aa2b4..3fccc06 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);
OpenPOWER on IntegriCloud