• D
    ima: provide 'ima_appraise=log' kernel option · 2faa6ef3
    Dmitry Kasatkin 提交于
    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: NDmitry Kasatkin <d.kasatkin@samsung.com>
    Signed-off-by: NMimi Zohar <zohar@linux.vnet.ibm.com>
    2faa6ef3
ima_appraise.c 9.6 KB