Page MenuHomeFreeBSD

D58504.diff
No OneTemporary

D58504.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
@@ -124,6 +124,9 @@
}
parent = __containerof(p->p_orphan.le_prev, struct proc,
p_orphans.lh_first);
+ KASSERT(child->p_pptr != parent,
+ ("proc %d %p orphaned but parent %d %p is realparent",
+ child->p_pid, child, parent->p_pid, parent));
return (parent);
}

File Metadata

Mime Type
text/plain
Expires
Wed, Aug 26, 3:02 AM (38 m, 8 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35678411
Default Alt Text
D58504.diff (394 B)

Event Timeline