]> git.baikalelectronics.ru Git - kernel.git/commit
ima: add check for enforced appraise option
authorBruno Meneguele <bmeneg@redhat.com>
Fri, 4 Sep 2020 19:40:57 +0000 (16:40 -0300)
committerMimi Zohar <zohar@linux.ibm.com>
Wed, 9 Sep 2020 02:02:57 +0000 (22:02 -0400)
commitefdcf77beba404c2e7c40bc820868938e0a22e0f
treef6f6163755a2855658d12dbe53c2f0e5e97d85bf
parent23fa6caca0c0fe5c451765acea45eeda6f3f5828
ima: add check for enforced appraise option

The "enforce" string is allowed as an option for ima_appraise= kernel
paramenter per kernel-paramenters.txt and should be considered on the
parameter setup checking as a matter of completeness. Also it allows futher
checking on the options being passed by the user.

Signed-off-by: Bruno Meneguele <bmeneg@redhat.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
security/integrity/ima/ima_appraise.c