> Comments in source code show that real parent will get ECHILD while its
> children are ptraced. So I think maybe some early kernel does not do this
> well. The default kernel in RHEL 3.9 seems to work well about this issue
> while I doubt that not all 2.4 kernels are fine.
RHEL3 is not really 2.
Sent on 2010-9-10 16:31, Roland McGrath wrote:
>> Moreover, if I got all right, in old kernels such as 2.4 series,
>> wait call will lost its children who are ptraced. I guess that's
>> why strace have function internal_wait. But in 2.6 series kernels,
>> I think wait call will block if its childre