Function report |
Source Code:security\selinux\selinuxfs.c |
Create Date:2022-07-28 19:04:05 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sel_mmap_handle_status
Proto:static int sel_mmap_handle_status(struct file *filp, struct vm_area_struct *vma)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | filp | |
struct vm_area_struct * | vma |
254 | If Offset (within vm_file) in PAGE_SIZEunits > 0 || size != PAGE_SIZE Then Return -EIO |
257 | If Flags, see mm.h. & VM_WRITE Then Return -EPERM |
260 | Flags, see mm.h. &= ~VM_MAYWRITE |
262 | Return remap_pfn_range(vma, Our start address within vm_mm. , page_to_pfn(status), size, Access permissions of this VMA. ) |
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 |