ima: provide 'ima_appraise=log' kernel option
authorDmitry Kasatkin <d.kasatkin@samsung.com>
Thu, 8 May 2014 10:11:29 +0000 (13:11 +0300)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Wed, 17 Sep 2014 20:14:23 +0000 (16:14 -0400)
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 <d.kasatkin@samsung.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Documentation/kernel-parameters.txt
security/integrity/ima/ima.h
security/integrity/ima/ima_appraise.c

Simple merge
Simple merge
Simple merge