Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F164661511
D58566.id183171.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
429 B
Referenced Files
None
Subscribers
None
D58566.id183171.diff
View Options
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
@@ -1663,9 +1663,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
Details
Attached
Mime Type
text/plain
Expires
Tue, Aug 4, 1:07 AM (12 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35825164
Default Alt Text
D58566.id183171.diff (429 B)
Attached To
Mode
D58566: proc_realparent(): do not mark the child as orphan when reparenting to p_opptr pid
Attached
Detach File
Event Timeline
Log In to Comment