Quoting David Michael (2014-12-12 23:01:57)
> Hi,
>
> On Thu, Nov 13, 2014 at 7:26 AM, Justus Winter
> <4win...@informatik.uni-hamburg.de> wrote:
> > @@ -1008,9 +1069,42 @@ S_mach_notify_new_task (mach_port_t notify,
> >childp = new_proc (task);
> > }
> >
> > - /* XXX do something in
Hi,
On Thu, Nov 13, 2014 at 7:26 AM, Justus Winter
<4win...@informatik.uni-hamburg.de> wrote:
> @@ -1008,9 +1069,42 @@ S_mach_notify_new_task (mach_port_t notify,
>childp = new_proc (task);
> }
>
> - /* XXX do something interesting */
> + if (MACH_PORT_VALID (parentp->p_task_namespa
Justus Winter, le Thu 13 Nov 2014 13:26:17 +0100, a écrit :
> * proc/proc.h (struct proc): Add field `p_task_namespace'.
> * proc/mgt.c (S_proc_child): Propagate `p_task_namespace' to child.
> (allocate_proc): Initialize `p_task_namespace'.
> (namespace_terminate): New function.
> (process_has_exit
* proc/proc.h (struct proc): Add field `p_task_namespace'.
* proc/mgt.c (S_proc_child): Propagate `p_task_namespace' to child.
(allocate_proc): Initialize `p_task_namespace'.
(namespace_terminate): New function.
(process_has_exited): Reparent children of dead tasks in the namespace
to the root proc