Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:elf_read

Proto:static int elf_read(struct file *file, void *buf, size_t len, loff_t pos)

Type:int

Parameter:

TypeParameterName
struct file *file
void *buf
size_tlen
loff_tpos
411  rv = kernel_read(file, buf, len, & pos)
412  If Value for the false possibility is greater at compile time(rv != len) Then
413  Return If rv < 0 Then rv Else -EIO
415  Return 0
Caller
NameDescribe
load_elf_phdrsload_elf_phdrs() - load ELF program headers*@elf_ex: ELF header of the binary whose program headers should be loaded*@elf_file: the opened ELF binary file* Loads ELF program headers from the binary file elf_file, which has the ELF
load_elf_binary