函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:We need to explicitly zero any fractional pagesafter the data section (i.e. bss). This wouldcontain the junk from the file that should notbe in memory

函数原型:static int padzero(unsigned long elf_bss)

返回类型:int

参数:

类型参数名称
unsigned longelf_bss
130  nbyte等于ELF_PAGEOFFSET(elf_bss)
131  如果nbyte
132  nbyte等于ELF_MIN_ALIGNnbyte
133  如果用户内存块清零则返回:负EFAULT
136  返回:0
调用者
名称描述
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