ima: ima_initialized is set only if successful
authorDmitry Kasatkin <dmitry.kasatkin@intel.com>
Mon, 25 Jun 2012 09:18:11 +0000 (12:18 +0300)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Thu, 5 Jul 2012 20:43:57 +0000 (16:43 -0400)
commit7ff2267af595e642f1009198ab49e86a239148fa
treebd9187795ee24b4a339593caff40ea677e706e17
parent8445d64dd761440fb5c73a2abba25009f4bf0e4c
ima: ima_initialized is set only if successful

Set ima_initialized only if initialization was successful.

Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
security/integrity/ima/ima_main.c