ima: remove CREDS_CHECK fall through
Subsystems (3)
Mimi Zohar
maintainerPATCH 1/1 ima: remove CREDS_CHECK fall through
This patch fixes the CREDS_CHECK fall through as annotated in the
"security mark expected switch fall-throughs" patch.
Signed-off-by Mimi Zohar <[email protected]>
Cc Gustavo A. R. Silva <[email protected]>
Cc Matthew Garrett <[email protected]>
--- security/integrity/ima/ima_appraise.c | 1 + 1 file changed, 1 insertion(+)
security/integrity/ima/ima_appraise.c +1 -0
@@ -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;
Signature · 1 line
2.7.5
Great!
Thanks for reviewing this, Mimi.
Quoted 6 lines · Mimi Zohar
This patch fixes the
CREDS_CHECKfall through as annotated in the
"security mark expected switch fall-throughs" patch.Signed-off-by Mimi Zohar <[email protected]>Cc Gustavo A. R. Silva <[email protected]>Cc Matthew Garrett <[email protected]>
Quoted 17 lines
--- security/integrity/ima/ima_appraise.c | 1 + 1 file changed, 1 insertion(+)security/integrity/ima/ima_appraise.c +1
-0@@ -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;
Quoted 7 lines · Mimi Zohar
This patch fixes the
CREDS_CHECKfall through as annotated in the
"security mark expected switch fall-throughs" patch.Signed-off-by Mimi Zohar <[email protected]>Cc Gustavo A. R. Silva <[email protected]>Cc Matthew Garrett <[email protected]>
Acked-by Matthew Garrett <[email protected]>