Re: [patch] clone-detached-2.5.31-A1

Ingo Molnar (mingo@elte.hu)
Tue, 13 Aug 2002 21:44:33 +0200 (CEST)


> i'm worried about one codepath though, in sys_wait4() we have this:
>
> p->parent = p->real_parent;
> add_parent(p, p->parent);
> do_notify_parent(p, SIGCHLD);
>
> can this actually trigger for a detached process as well? In any case
> i've put an assert in to make sure.

as far as i can see this cannot trigger because reparent_to_init() sets
exit_signal to SIGCHLD so the above code is correct.

Ingo

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/