Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:open_exec

Proto:struct file *open_exec(const char *name)

Type:struct file

Parameter:

TypeParameterName
const char *name
884  filename = getname_kernel(name)
885  f = ERR_CAST - Explicitly cast an error-valued pointer to another pointer type*@ptr: The pointer to cast.* Explicitly cast an error-valued pointer to another pointer type in such a* way as to make it clear that's what's going on.
887  If Not IS_ERR(filename) Then
888  f = do_open_execat(Special value used to indicateopenat should use the currentworking directory. , filename, 0)
889  putname(filename)
891  Return f
Caller
NameDescribe
load_em86
load_misc_binaryhe loader itself
bm_register_write/register
load_script
load_elf_binary
load_elf_fdpic_binaryload an fdpic binary into various bits of memory