> 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/
This archive was generated by hypermail 2b29 : Thu Aug 15 2002 - 22:00:33 EST