ima: return an error code from ima_add_boot_aggregate()
authorRoberto Sassu <roberto.sassu@polito.it>
Fri, 12 Sep 2014 17:35:53 +0000 (19:35 +0200)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Wed, 17 Sep 2014 20:15:42 +0000 (16:15 -0400)
commitbe39ffc2fec78ff80d50e4b7970e94a8b1583862
treec2b8c6097cf375ee24707f2fd50f69604ba9d655
parent2faa6ef3b21152cc05b69a84113625dcee63176f
ima: return an error code from ima_add_boot_aggregate()

This patch modifies ima_add_boot_aggregate() to return an error code.
This way we can determine if all the initialization procedures have
been executed successfully.

Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
security/integrity/ima/ima_init.c