lkml.org 
[lkml]   [2002]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] clone-detached-2.5.31-A1

> 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/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.108 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site