Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sys.c Create Date:2022-07-28 09:21:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:propagate_has_child_subreaper

Proto:static int propagate_has_child_subreaper(struct task_struct *p, void *data)

Type:int

Parameter:

TypeParameterName
struct task_struct *p
void *data
2245  If has_child_subreaper || s_child_reaper returns true if the pid is the init process* of the current namespace. As this one could be checked before* pid_ns->child_reaper is assigned in copy_process, we check* with the pid number. Then Return 0
2249  has_child_subreaper = 1
2250  Return 1