Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched\signal.h Create Date:2022-07-28 05:40:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:static inline bool has_group_leader_pid(struct task_struct *p)

Type:bool

Parameter:

TypeParameterName
struct task_struct *p
642  Return task_pid(p) == task_tgid(p)
Caller
NameDescribe
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().)