commit | 86f2bc024966d962d4d7575468e226e2269d198c | [log] [tgz] |
---|---|---|
author | Dmitry Kasatkin <d.kasatkin@samsung.com> | Wed Aug 20 12:37:57 2014 +0300 |
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | Tue Sep 09 10:28:51 2014 -0400 |
tree | 85f59bd2444364d5e722ba71dd3ca73074757063 | |
parent | e4a9c5196566bd47ac92f6e5ef7f48412ded7176 [diff] |
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>