Page MenuHomeFreeBSD

D15924.id44911.diff
No OneTemporary

D15924.id44911.diff

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

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)

Event Timeline