函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:thread_group_empty

函数原型:static inline int thread_group_empty(struct task_struct *p)

返回类型:int

参数:

类型参数名称
struct task_struct *p
659  返回:链表为空
调用者
名称描述
pidfd_pollPoll support for process exit notification.
check_unshare_flagsCheck constraints on flags passed to the unshare system call.
release_task
will_become_orphaned_pgrpDetermine if a process group is "orphaned", according to the POSIX* definition in 2
reparent_leaderAny that need to be release_task'd are put on the @dead list.
exit_notifySend signals to all our closest relatives so that they know* to properly mourn us..
do_group_exitTake down every thread in the group. This is called by fatal signals* as well as by sys_exit_group (below).
__ptrace_detachCalled with tasklist_lock held for writing
ptrace_resume
complete_signal
do_notify_parentLet a parent know about the death of a child.* For a stopped/continued status change, use do_notify_parent_cldstop instead.* Returns true if our parent ignored us and so we've switched to* self-reaping.
exit_signals
__set_task_blocked
posix_cpu_timer_rearm
userns_install
taskstats_tgid_alloc
__task_will_free_mem
keyctl_session_to_parentAttempt to install the calling process's session keyring on the process's* parent process.* The keyring must exist and must grant the caller LINK permission, and the* parent process must be single-threaded and must have the same effective
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().)