[PATCH] Handle CLONE_PARENT flag
wang.chao at cn.fujitsu.com
Fri Aug 6 06:51:19 UTC 2010
> It would be nice to see a test case
> where the old code goes wrong and the fix makes it better.
I attached a simple program. The wait call returns immediately
and the whole program ends up normally. But if we use strace to
trace it, because strace doesn't handle CLONE_PARENT, the wait
call will be blocked by strace, and trace will not end up until
we kill the new cloned process, which is obviously not correct.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1016 bytes
Desc: not available
More information about the Strace-devel