ima: cleanup ima_init_policy() a little
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 7 Apr 2015 09:22:11 +0000 (12:22 +0300)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Wed, 13 May 2015 10:07:19 +0000 (06:07 -0400)
commit5577857f8e26e9027271f10daf96361640907300
treea42a8ecdea41994cf32c405534083e4fa4abb43e
parent1ddd3b4e07a4be9fe3f1ce2441b01859154f4358
ima: cleanup ima_init_policy() a little

It's a bit easier to read this if we split it up into two for loops.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
security/integrity/ima/ima_policy.c