Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167867812
D58504.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
394 B
Referenced Files
None
Subscribers
None
D58504.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
@@ -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
Details
Attached
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)
Attached To
Mode
D58504: proc_realparent(): assert that an orphaned child has real parent != parent
Attached
Detach File
Event Timeline
Log In to Comment