函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\binfmt_elf.c Create Date:2022-07-29 11:02:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:make_prot

函数原型:static inline int make_prot(unsigned int p_flags)

返回类型:int

参数:

类型参数名称
unsigned intp_flags
540  prot等于0
542  如果p_flags按位与These constants define the permissions on sections in the programheader, p_flags. prot或等于page can be read
544  如果p_flags按位与PF_Wprot或等于page can be written
546  如果p_flags按位与PF_Xprot或等于page can be executed
548  返回:prot
调用者
名称描述
load_elf_interpThis is much more generalized than the library routine read function,so we keep this separate. Technically the library read functionis only provided so that we can read a.out libraries that havean ELF header
load_elf_binary