函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:change_pid

函数原型:void change_pid(struct task_struct *task, enum pid_type type, struct pid *pid)

返回类型:void

参数:

类型参数名称
struct task_struct *task
enum pid_typetype
struct pid *pid
358  __change_pid(task, type, pid)
359  进程归集
调用者
名称描述
set_special_pids
SYSCALL_DEFINE2This needs some heavy checking
de_threadThis function makes sure the current process has its own signal table,* so that flush_signal_handlers can later reset the handlers without* disturbing other processes. (Other processes might share the signal* table via the CLONE_SIGHAND option to clone().)