函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mmap.c Create Date:2022-07-27 16:14:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:vm_get_page_prot

函数原型:pgprot_t vm_get_page_prot(unsigned long vm_flags)

返回类型:pgprot_t

参数:

类型参数名称
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  返回:arch_filter_pgprot(ret)
调用者
名称描述
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
__bprm_mm_init