Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108642820
D15924.id44911.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
602 B
Referenced Files
None
Subscribers
None
D15924.id44911.diff
View Options
Index: sys/kern/init_main.c
===================================================================
--- sys/kern/init_main.c
+++ sys/kern/init_main.c
@@ -502,6 +502,7 @@
p->p_peers = 0;
p->p_leader = p;
p->p_reaper = p;
+ p->p_treeflag |= P_TREE_REAPER;
LIST_INIT(&p->p_reaplist);
strncpy(p->p_comm, "kernel", sizeof (p->p_comm));
@@ -839,7 +840,6 @@
PROC_LOCK(initproc);
initproc->p_flag |= P_SYSTEM | P_INMEM;
initproc->p_treeflag |= P_TREE_REAPER;
- LIST_INSERT_HEAD(&initproc->p_reaplist, &proc0, p_reapsibling);
oldcred = initproc->p_ucred;
crcopy(newcred, oldcred);
#ifdef MAC
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 28, 1:21 AM (9 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16232998
Default Alt Text
D15924.id44911.diff (602 B)
Attached To
Mode
D15924: Fix circular reaper dependency after r275800.
Attached
Detach File
Event Timeline
Log In to Comment