Function report | 
Source Code:security\integrity\ima\ima_main.c | 
Create Date:2022-07-28 19:58:15 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Prevent mmap'ing a file execute that is already mmap'ed write
Proto:static int mmap_violation_check(enum ima_hooks func, struct file *file, char **pathbuf, const char **pathname, char *filename)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| enum ima_hooks | func | |
| struct file * | file | |
| char ** | pathbuf | |
| const char ** | pathname | |
| char * | filename | 
| 81 | rc = 0 | 
| 85 | inode = file_inode(file) | 
| 90 | integrity_audit_msg(Data integrity verification , inode, * pathname, "mmap_file", "mmapped_writers", rc, 0) | 
| 93 | Return rc | 
| Name | Describe | 
|---|---|
| process_measurement | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |