[PATCH] ima: remove CREDS_CHECK fall through
Gustavo A. R. Silva
gustavo at embeddedor.com
Thu Jan 31 18:08:43 UTC 2019
Great!
Thanks for reviewing this, Mimi.
On 1/31/19 12:01 PM, Mimi Zohar wrote:
> This patch fixes the CREDS_CHECK fall through as annotated in the
> "security mark expected switch fall-throughs" patch.
>
> Signed-off-by: Mimi Zohar <zohar at linux.ibm.com>
> Cc: Gustavo A. R. Silva <gustavo at embeddedor.com>
> Cc: Matthew Garrett <mjg59 at google.com>
Acked-by: Gustavo A. R. Silva <gustavo at embeddedor.com>
> ---
> security/integrity/ima/ima_appraise.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/security/integrity/ima/ima_appraise.c b/security/integrity/ima/ima_appraise.c
> index a2baa85ea2f5..5fb7127bbe68 100644
> --- a/security/integrity/ima/ima_appraise.c
> +++ b/security/integrity/ima/ima_appraise.c
> @@ -114,6 +114,7 @@ static void ima_set_cache_status(struct integrity_iint_cache *iint,
> break;
> case CREDS_CHECK:
> iint->ima_creds_status = status;
> + break;
> case FILE_CHECK:
> case POST_SETATTR:
> iint->ima_file_status = status;
>
More information about the Linux-security-module-archive
mailing list