From: Dmitry Kasatkin Date: Thu, 8 May 2014 10:11:29 +0000 (+0300) Subject: ima: provide 'ima_appraise=log' kernel option X-Git-Tag: fixes-against-v3.18-rc2~106^2~7^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2faa6ef3b21152cc05b69a84113625dcee63176f;p=pandora-kernel.git ima: provide 'ima_appraise=log' kernel option The kernel boot parameter "ima_appraise" currently defines 'off', 'enforce' and 'fix' modes. When designing a policy and labeling the system, access to files are either blocked in the default 'enforce' mode or automatically fixed in the 'fix' mode. It is beneficial to be able to run the system in a logging only mode, without fixing it, in order to properly analyze the system. This patch adds a 'log' mode to run the system in a permissive mode and log the appraisal results. Signed-off-by: Dmitry Kasatkin Signed-off-by: Mimi Zohar --- Reading git-diff-tree failed