函数源码 |
Source File:include\linux\pid.h |
Create Date:2022-07-27 06:40:41 |
首页 | Copyright©Brick |
149 150 151 152 153 154 155 156 157 158 | /* * is_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. */ static inline bool is_child_reaper( struct pid *pid) { return pid->numbers[pid->level].nr == 1; } |