Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 18: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:selinux_mmap_file
Proto:static int selinux_mmap_file(struct file *file, unsigned long reqprot, unsigned long prot, unsigned long flags)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct file * | file | |
| unsigned long | reqprot | |
| unsigned long | prot | |
| unsigned long | flags |
| 3719 | If file Then |
| 3720 | type = LSM_AUDIT_DATA_FILE |
| 3728 | If checkreqprot Then prot = reqprot |
| 3731 | Return file_map_prot_check(file, prot, (flags & Mask for type of mapping ) == Share changes ) |
| 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 |