Date: Sat, 08 Nov 2003 19:28:48 -0800 From: Chris Bond <bondc@shaw.ca> To: freebsd-hackers@freebsd.org Subject: ptrace reparenting with PT_ATTACH Message-ID: <001501c3a671$96c712d0$5e7d5018@muscle>
next in thread | raw e-mail | index | archive | help
Hello, I notice that when I attach to a process via ptrace(PT_ATTACH, ...), the process doing the tracing becomes the parent. The real parent can then no longer wait() for signals or anything, and may receive an ECHILD error if it attempts to do so. This seems like a bit of an oversight to me. Is there any way around it? Thanks, Chris Bond
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001501c3a671$96c712d0$5e7d5018>