[PATCH] ima: remove CREDS_CHECK fall through
Mimi Zohar
zohar at linux.ibm.com
Thu Jan 31 18:01:26 UTC 2019
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>
---
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;
--
2.7.5
More information about the Linux-security-module-archive
mailing list