HomeFreeBSD

Clear P_TRACED before reparenting a detached process back to its

Description

Clear P_TRACED before reparenting a detached process back to its
original parent. Otherwise the debugee will be set as an orphan of
the debugger.

Add tests for tracing forks via PT_FOLLOW_FORK.

Reviewed by: kib
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D2809

Details

Provenance
jhbAuthored on
Reviewer
kib
Differential Revision
D2809: Fix an orphan bug and add tests for fork following.
Parents
rS286157: Remove things that crept in after badly checked revert
Branches
Unknown
Tags
Unknown