ima: rename FILE_MMAP to MMAP_CHECK
Rename FILE_MMAP hook to MMAP_CHECK to be consistent with the other hook names. Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
This commit is contained in:
@@ -228,7 +228,7 @@ int ima_file_mmap(struct file *file, unsigned long prot)
|
||||
{
|
||||
if (file && (prot & PROT_EXEC))
|
||||
return process_measurement(file, file->f_dentry->d_name.name,
|
||||
MAY_EXEC, FILE_MMAP);
|
||||
MAY_EXEC, MMAP_CHECK);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user