Kernel build fails

Dries Michiels driesm.michiels at gmail.com
Thu Jul 5 12:13:46 UTC 2018


> > You have RACCT but not RCTL in the kernel config ?  Try this.
> 
> This is correct!
> 
> > diff --git a/sys/kern/kern_jail.c b/sys/kern/kern_jail.c index
> > b8bcbd49420..457a590cdf5 100644
> > --- a/sys/kern/kern_jail.c
> > +++ b/sys/kern/kern_jail.c
> > @@ -3988,8 +3988,10 @@ prison_racct_attach(struct prison *pr)  static
> > void  prison_racct_modify(struct prison *pr)  {
> > +#ifdef RCTL
> >  	struct proc *p;
> >  	struct ucred *cred;
> > +#endif
> >  	struct prison_racct *oldprr;
> >
> >  	ASSERT_RACCT_ENABLED();
> 
> I'm trying the patch as we speak thanks kib.

Patch works fine. Kernel builds without problems. 
Will probably add RCTL to my kernel config though.
Thanks!



More information about the freebsd-stable mailing list