函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bprm_change_interp

函数原型:int bprm_change_interp(const char *interp, struct linux_binprm *bprm)

返回类型:int

参数:

类型参数名称
const char *interp
struct linux_binprm *bprm
1439  如果interp不等于filename释放内存
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  如果非interp则返回:负ENOMEM
1444  返回:0
调用者
名称描述
load_misc_binaryhe loader itself
load_script