Date: Fri, 04 May 2007 11:06:35 -0700 From: Julian Elischer <julian@elischer.org> To: Marko Zec <zec@FreeBSD.org> Cc: Perforce Change Reviews <perforce@FreeBSD.org> Subject: Re: PERFORCE change 119231 for review Message-ID: <463B762B.1090005@elischer.org> In-Reply-To: <200705041118.l44BIdN0039418@repoman.freebsd.org> References: <200705041118.l44BIdN0039418@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Marko Zec wrote: > http://perforce.freebsd.org/chv.cgi?CH=119231 > > Change 119231 by zec@zec_zoo on 2007/05/04 11:18:33 > > proc0_init() is called before vi_init() during kernel > autoconfiguratino / booting, so pointers inside vimage_0 are > not yet populated at that time. Hence, access vprocg_0 > directly at that point, not through vimage_0. > > Affected files ... > > .. //depot/projects/vimage/src/sys/kern/init_main.c#8 edit > > Differences ... > > ==== //depot/projects/vimage/src/sys/kern/init_main.c#8 (text+ko) ==== > > @@ -443,7 +443,7 @@ > p->p_ucred->cr_prison = NULL; /* Don't jail it. */ > #ifdef VIMAGE > p->p_ucred->cr_vimage = p->p_ucred->cr_rvimage = &vimage_0; > - vimage_0.v_procg->nprocs = 1; > + vprocg_0.nprocs = 1; > #endif > #ifdef AUDIT > audit_proc_alloc(p); or change the order?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?463B762B.1090005>