Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

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:

TypeParameterName
struct vm_area_struct *vma
unsigned longstart
unsigned longend
pgprot_tnewprot
intdirty_accountable
intprot_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
Caller
NameDescribe
mprotect_fixup