The reason for this is how ptrace works, which is by changing the
parent of the process to the ptracing process. The process waiting
will therefore not see its child as a real child and returns ECHILD.
Could someone explain briefly why the parent process of the ptraced
process must be changed?
astor
-- Alexander Kjeldaas, Guardian Networks AS, Trondheim, Norway http://www.guardian.no/- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu