Page MenuHomeFreeBSD

D58566.id183143.diff
No OneTemporary

D58566.id183143.diff

diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c
--- a/sys/kern/kern_exit.c
+++ b/sys/kern/kern_exit.c
@@ -1668,9 +1668,8 @@
LIST_INSERT_HEAD(&parent->p_children, child, p_sibling);
proc_clear_orphan(child);
- if ((child->p_flag & P_TRACED) != 0) {
+ if ((child->p_flag & P_TRACED) != 0 && child->p_oppid != parent->p_pid)
proc_add_orphan(child, child->p_pptr);
- }
child->p_pptr = parent;
if (set_oppid)

File Metadata

Mime Type
text/plain
Expires
Tue, Aug 4, 7:08 AM (18 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35803433
Default Alt Text
D58566.id183143.diff (429 B)

Event Timeline