Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mmap.c Create Date:2022-07-28 14:47:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:vm_get_page_prot

Proto:pgprot_t vm_get_page_prot(unsigned long vm_flags)

Type:pgprot_t

Parameter:

TypeParameterName
unsigned longvm_flags
108  ret = __pgprot(pgprot_val(description of effects of mapping type and prot in current implementation[vm_flags & (currently active flags | VM_WRITE | VM_EXEC | VM_SHARED)]) | pgprot_val(arch_vm_get_page_prot(vm_flags)))
112  Return arch_filter_pgprot(ret)
Caller
NameDescribe
vm_pgprot_modify
mmap_region
do_brk_flagshis is really a simplified "do_mmap". it only handles* anonymous maps. eventually we may be able to do some* brk-specific accounting here.
__install_special_mapping
mprotect_fixup