Commit 41d75dd9 authored by Jiele Zhao's avatar Jiele Zhao Committed by Mimi Zohar
Browse files

ima: Fix function name error in comment.



The original function name was ima_path_check().  The policy parsing
still supports PATH_CHECK.   Commit 9bbb6cad ("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: 9bbb6cad ("ima: rename ima_path_check to ima_file_check").

Signed-off-by: default avatarJiele Zhao <unclexiaole@gmail.com>
Signed-off-by: default avatarMimi Zohar <zohar@linux.ibm.com>
parent 60c8eb38
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -482,7 +482,7 @@ int ima_bprm_check(struct linux_binprm *bprm)
}

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