> Sent on 2010-9-10 16:05, Roland McGrath wrote:
> >
> > diff --git a/process.c b/process.c
> > index 8af960a..50f5ae8 100644
> > --- a/process.c
> > +++ b/process.c
> > @@ -796,7 +796,8 @@ int
> > internal_fork(struct tcb *tcp)
> > {
> > if (entering(tcp)) {
> > - if (!followfork)
> > + tcp->flags &= ~TCB_FOLLOWFORK;
> > + if (!followfork || (tcp->u_arg[ARG_FLAGS] & CLONE_UNTRACED))
> > return 0;
> > fork_tcb(tcp);
> > if (setbpt(tcp) < 0)
>
> I quite agree with the above change.
Does that mean you tested it?
------------------------------------------------------------------------------
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful,
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance.
http://p.sf.net/sfu/dell-sfdev2dev
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel