summaryrefslogtreecommitdiffstats
path: root/security/integrity
diff options
context:
space:
mode:
authorDmitry Kasatkin <dmitry.kasatkin@intel.com>2012-01-30 01:19:08 +0100
committerMimi Zohar <zohar@linux.vnet.ibm.com>2012-07-02 22:43:30 +0200
commit0ea4f8ae416a9e8d15f4e20680879358f620e8b8 (patch)
tree68c03378249e4d3c543f5c6bf3833774a3c58adb /security/integrity
parentima: use full pathnames in measurement list (diff)
downloadlinux-0ea4f8ae416a9e8d15f4e20680879358f620e8b8.tar.xz
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')
-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 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);