Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\pid.h Create Date:2022-07-28 05:38:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:static inline bool is_child_reaper(struct pid *pid)

Type:bool

Parameter:

TypeParameterName
struct pid *pid
158  Return nr == 1
Caller
NameDescribe
copy_processCreate a new process
propagate_has_child_subreaper
alloc_pid