From: Dmitry Kasatkin Date: Wed, 20 Aug 2014 09:37:57 +0000 (+0300) Subject: ima: remove unnecessary appraisal test X-Git-Tag: fixes-against-v3.18-rc2~106^2~12^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86f2bc024966d962d4d7575468e226e2269d198c;p=pandora-kernel.git 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 Signed-off-by: Mimi Zohar --- Reading git-diff-tree failed