Function report |
Source Code:mm\mprotect.c |
Create Date:2022-07-28 14:52:05 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:change_protection
Proto:unsigned long change_protection(struct vm_area_struct *vma, unsigned long start, unsigned long end, pgprot_t newprot, int dirty_accountable, int prot_numa)
Type:unsigned long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct vm_area_struct * | vma | |
| unsigned long | start | |
| unsigned long | end | |
| pgprot_t | newprot | |
| int | dirty_accountable | |
| int | prot_numa |
| 337 | If is_vm_hugetlb_page(vma) Then pages = hugetlb_change_protection(vma, start, end, newprot) |
| 339 | Else pages = change_protection_range(vma, start, end, newprot, dirty_accountable, prot_numa) |
| 342 | Return pages |
| Name | Describe |
|---|---|
| mprotect_fixup |
| 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 |