Thread (3 messages) 3 messages, 3 authors, 2019-01-31

Re: [PATCH] ima: remove CREDS_CHECK fall through

From: Gustavo A. R. Silva <hidden>
Date: 2019-01-31 18:29:05

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@linux.ibm.com>
Cc: Gustavo A. R. Silva <redacted>
Cc: Matthew Garrett <redacted>
Acked-by: Gustavo A. R. Silva <redacted>
quoted hunk ↗ jump to hunk
---
 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;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help