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:
Mimi Zohar
2012-12-13 11:15:04 -05:00
parent b51524635b
commit 16cac49f72
5 changed files with 9 additions and 8 deletions

View File

@@ -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;
}