Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bprm_change_interp

Proto:int bprm_change_interp(const char *interp, struct linux_binprm *bprm)

Type:int

Parameter:

TypeParameterName
const char *interp
struct linux_binprm *bprm
1439  If interp != filename Then kfree(interp)
1441  interp = kstrdup - allocate space for and copy an existing string*@s: the string to duplicate*@gfp: the GFP mask used in the kmalloc() call when allocating memory* Return: newly allocated copy of @s or %NULL in case of error
1442  If Not interp Then Return -ENOMEM
1444  Return 0
Caller
NameDescribe
load_misc_binaryhe loader itself
load_script