OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 2/2] signals: replace p->pid == 1 check with a check for task_child_reaper
Re: [PATCH 2/2] signals: replace p->pid == 1 check with a check for task_child_reaper [message #32042 is a reply to message #32030] Thu, 17 July 2008 17:55 Go to previous messageGo to previous message
ebiederm is currently offline  ebiederm
Messages: 1354
Registered: February 2006
Senior Member
Daniel Hokka Zakrisson <daniel@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

_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Checkpoint/Restart mini-summit
Next Topic: [PATCH 1/1] signal: Introduce kill_pid_ns_info
Goto Forum:
  


Current Time: Sun Aug 31 21:40:47 GMT 2025

Total time taken to generate the page: 0.10520 seconds