Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\exit.c Create Date:2022-07-28 09:03:36
Last Modify:2020-03-17 11:17:32 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__wake_up_parent

Proto:void __wake_up_parent(struct task_struct *p, struct task_struct *parent)

Type:void

Parameter:

TypeParameterName
struct task_struct *p
struct task_struct *parent
1415  __wake_up_sync_key( & wait_chldexit, TASK_INTERRUPTIBLE, p)
Caller
NameDescribe
__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