Page MenuHomeFreeBSD

D15924.diff
No OneTemporary

D15924.diff

Index: head/sys/kern/init_main.c
===================================================================
--- head/sys/kern/init_main.c
+++ head/sys/kern/init_main.c
@@ -514,6 +514,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));
@@ -851,7 +852,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
Thu, Sep 3, 8:40 AM (12 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38013462
Default Alt Text
D15924.diff (617 B)

Event Timeline