2004-10-19 Roland McGrath <roland@redhat.com>
+ * strace.c (trace): Use handle_group_exit for non-TCB_ATTACHED child
+ taking signal when it has nclone_threads > 0.
+
+ * strace.c (handle_group_exit): Don't detach leader that wasn't
+ TCB_ATTACHED.
+
+ * strace.c (handle_group_exit, trace): Mark leader with
+ TCB_GROUP_EXITING and don't be surprised at child deaths when their
+ leader has it set.
+ Fixes RH#132150.
+
* process.c (WCOREFLAG): Define if not defined.
(W_STOPCODE, W_EXITCODE): Likewise.
Reported by Marty Leisner <mleisner@eng.mc.xerox.com>.