Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:eligible_child

Proto:static int eligible_child(struct wait_opts *wo, bool ptrace, struct task_struct *p)

Type:int

Parameter:

TypeParameterName
struct wait_opts *wo
boolptrace
struct task_struct *p
944  If Not eligible_pid(wo, p) Then Return 0
951  If ptrace || wo_flags & Wait on all children, regardless of type Then Return 1
962  If exit signal != SIGCHLD ^ Not Not (wo_flags & Wait only on non-SIGCHLD children ) Then Return 0
965  Return 1
Caller
NameDescribe
wait_consider_taskConsider @p for a wait by @parent