函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched\signal.h Create Date:2022-07-27 06:42:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Do to the insanities of de_thread it is possible for a process* to have the pid of the thread group leader without actually being* the thread group leader

函数原型:static inline bool has_group_leader_pid(struct task_struct *p)

返回类型:bool

参数:

类型参数名称
struct task_struct *p
642  返回:task_pid(p)恒等于task_tgid(p)
调用者
名称描述
lookup_taskFunctions for validating access to tasks.
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().)