Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c75d8e96 authored by Colin Ian King's avatar Colin Ian King Committed by Mimi Zohar
Browse files

IMA: fix non-ANSI declaration of ima_check_policy()



ima_check_policy() has no parameters, so use the normal void
parameter convention to make it match the prototype in the header file
security/integrity/ima/ima.h

Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarMimi Zohar <zohar@linux.vnet.ibm.com>
parent 388f7b1d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -417,7 +417,7 @@ void __init ima_init_policy(void)
}

/* Make sure we have a valid policy, at least containing some rules. */
int ima_check_policy()
int ima_check_policy(void)
{
	if (list_empty(&ima_temp_rules))
		return -EINVAL;