summaryrefslogtreecommitdiffstats
path: root/security/integrity/ima/ima_policy.c
diff options
context:
space:
mode:
authorJames Morris2009-02-04 23:28:26 +0100
committerJames Morris2009-02-05 23:05:34 +0100
commit64c61d80a6e4c935a09ac5ff1d952967ca1268f8 (patch)
tree80d109d7b3218c925ee48d22254d704e23d31199 /security/integrity/ima/ima_policy.c
parentIntegrity: IMA update maintainers (diff)
downloadkernel-qcow2-linux-64c61d80a6e4c935a09ac5ff1d952967ca1268f8.tar.gz
kernel-qcow2-linux-64c61d80a6e4c935a09ac5ff1d952967ca1268f8.tar.xz
kernel-qcow2-linux-64c61d80a6e4c935a09ac5ff1d952967ca1268f8.zip
IMA: fix ima_delete_rules() definition
Fix ima_delete_rules() definition so sparse doesn't complain. Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/integrity/ima/ima_policy.c')
-rw-r--r--security/integrity/ima/ima_policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/integrity/ima/ima_policy.c b/security/integrity/ima/ima_policy.c
index bd453603e2c3..23810e0bfc68 100644
--- a/security/integrity/ima/ima_policy.c
+++ b/security/integrity/ima/ima_policy.c
@@ -400,7 +400,7 @@ int ima_parse_add_rule(char *rule)
}
/* ima_delete_rules called to cleanup invalid policy */
-void ima_delete_rules()
+void ima_delete_rules(void)
{
struct ima_measure_rule_entry *entry, *tmp;