函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\exit.c Create Date:2022-07-27 10:03:18
Last Modify:2020-03-17 11:17:32 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__wake_up_parent

函数原型:void __wake_up_parent(struct task_struct *p, struct task_struct *parent)

返回类型:void

参数:

类型参数名称
struct task_struct *p
struct task_struct *parent
1415  __wake_up_sync_key( & wait_chldexit, 睡眠态, p)
调用者
名称描述
__ptrace_detachCalled with tasklist_lock held for writing
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.
do_notify_parent_cldstopdo_notify_parent_cldstop - notify parent of stopped/continued state change*@tsk: task reporting the state change*@for_ptracer: the notification is for ptracer*@why: CLD_{CONTINUED|STOPPED|TRAPPED} to report
selinux_bprm_committed_credsClean up the process immediately after the installation of new credentials* due to exec
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().)