函数逻辑报告

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

函数名称:free_bprm

函数原型:static void free_bprm(struct linux_binprm *bprm)

返回类型:void

参数:

类型参数名称
struct linux_binprm *bprm
1421  free_arg_pages(bprm)
1422  如果cred
1423  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
1424  abort_creds - Discard a set of credentials and unlock the current task*@new: The credentials that were going to be applied* Discard a set of credentials that were under construction and unlock the* current task.
1426  如果file
1427  allow_write_access(file)
1428  fput(file)
1431  如果interp不等于filename释放内存
1433  释放内存
调用者
名称描述
__do_execve_filesys_execve() executes a new program.