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.
Paths
| Differential D2809 Authored by jhb on Jun 14 2015, 5:20 AM.
Details Summary Clear P_TRACED before reparenting a detached process back to its Add tests for tracing forks via PT_FOLLOW_FORK. Test Plan
Diff Detail
Event Timelinejhb updated this object. Herald added subscribers: emaste, imp. · View Herald TranscriptJun 14 2015, 5:20 AM2015-06-14 05:20:05 (UTC+0) This revision is now accepted and ready to land.Jun 14 2015, 6:28 AM2015-06-14 06:28:39 (UTC+0)
This revision now requires review to proceed.Aug 1 2015, 5:47 AM2015-08-01 05:47:47 (UTC+0) This revision is now accepted and ready to land.Aug 1 2015, 6:05 AM2015-08-01 06:05:41 (UTC+0) Closed by commit rS286158: Clear P_TRACED before reparenting a detached process back to its (authored by jhb). · Explain WhyAug 1 2015, 4:28 PM2015-08-01 16:28:17 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 6182 sys/kern/sys_process.c
tests/sys/kern/ptrace_test.c
|
add these in alpha order probably