函数逻辑报告

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

函数名称:These functions flushes out all traces of the currently running executable* so that a new one can be started

函数原型:void __set_task_comm(struct task_struct *tsk, const char *buf, bool exec)

返回类型:void

参数:

类型参数名称
struct task_struct *tsk
const char *buf
boolexec
1244  Protects ->fs, ->files, ->mm, ->group_info, ->comm, keyring* subscriptions and synchronises with wait4(). Also used in procfs. Also* pins the final release of task.io_context. Also protects ->cpuset and* ->cgroup.subsys[]. And ->vfork_done.
1245  trace_task_rename(tsk, buf)
1246  长字符串复制
1247  task_unlock(tsk)
1248  perf_event_comm(tsk, exec)
调用者
名称描述
setup_new_exec
set_task_comm