Skip to content

Commit 41d75dd

Browse files
zhaojielemimizohar
authored andcommitted
ima: Fix function name error in comment.
The original function name was ima_path_check(). The policy parsing still supports PATH_CHECK. Commit 9bbb6ca ("ima: rename ima_path_check to ima_file_check") renamed the function to ima_file_check(), but missed modifying the function name in the comment. Fixes: 9bbb6ca ("ima: rename ima_path_check to ima_file_check"). Signed-off-by: Jiele Zhao <[email protected]> Signed-off-by: Mimi Zohar <[email protected]>
1 parent 60c8eb3 commit 41d75dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/integrity/ima/ima_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ int ima_bprm_check(struct linux_binprm *bprm)
482482
}
483483

484484
/**
485-
* ima_path_check - based on policy, collect/store measurement.
485+
* ima_file_check - based on policy, collect/store measurement.
486486
* @file: pointer to the file to be measured
487487
* @mask: contains MAY_READ, MAY_WRITE, MAY_EXEC or MAY_APPEND
488488
*

0 commit comments

Comments
 (0)