ima: remove unnecessary appraisal test
authorDmitry Kasatkin <d.kasatkin@samsung.com>
Wed, 20 Aug 2014 09:37:57 +0000 (12:37 +0300)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Tue, 9 Sep 2014 14:28:51 +0000 (10:28 -0400)
commit86f2bc024966d962d4d7575468e226e2269d198c
tree85f59bd2444364d5e722ba71dd3ca73074757063
parente4a9c5196566bd47ac92f6e5ef7f48412ded7176
ima: remove unnecessary appraisal test

ima_get_action() sets the "action" flags based on policy.
Before collecting, measuring, appraising, or auditing the
file, the "action" flag is updated based on the cached
iint->flags.

This patch removes the subsequent unnecessary appraisal
test in ima_appraise_measurement().

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