[PATCH 2/2] signals: replace p->pid == 1 check with a check for task_child_reaper

Eric W. Biederman ebiederm at xmission.com
Thu Jul 17 10:55:15 PDT 2008


Daniel Hokka Zakrisson <daniel at hozac.com> writes:

> p->pid == 1 is insufficient when there are multiple pid namespaces.
> Instead, check whether the task is in the current task's
> child reaper's thread group.

We should just drop the check for init as it is redundant.

Eric



More information about the Containers mailing list