NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/53800: ptrace crashes

The following reply was made to PR kern/53800; it has been noted by GNATS.

Subject: Re: kern/53800: ptrace crashes
Date: Wed, 19 Dec 2018 05:38:50 +0000

 Looks like the problem is commented:
         case PT_ATTACH:
                  * Go ahead and set the trace flag.
                  * Save the old parent (it's reset in
                  *   _DETACH, and also in kern_exit.c:wait4()
                  * Reparent the process so that the tracing
                  *   proc gets to see all the action.
 But it is not reset in _DETACH.

Home | Main Index | Thread Index | Old Index