函数逻辑报告

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

函数名称:ransfer_pid is an optimization of attach_pid(new), detach_pid(old)

函数原型:void transfer_pid(struct task_struct *old, struct task_struct *new, enum pid_type type)

返回类型:void

参数:

类型参数名称
struct task_struct *old
struct task_struct *new
enum pid_typetype
366  如果type恒等于单一进程 PID/PID hash table linkage. 等于 PID/PID hash table linkage.
368  rcu新旧更换
调用者
名称描述
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().)