In message <2968186.slGk94SIus@ravel>, Olivier Certner writes:
> --nextPart3019747.hHqAuc6tWs
> Content-Transfer-Encoding: 7Bit
> Content-Type: text/plain; charset="UTF-8"; protected-headers="v1"
> From: Olivier Certner <o...@freebsd.org>
> Date: Mon, 16 Dec 2024 16:44:37 +0100
> Message-ID: <2968186.slGk94SIus@ravel>
> In-Reply-To: <20241216152936.ac31a...@slippy.cwsent.com>
> MIME-Version: 1.0
>
> > I was just about to push this:
>
> Ah, didn't see your mail.  Just pushed a fix.
>
> >  proc_set_cred(struct proc *p, struct ucred *newcred)
> >  {
> > -   bool success = _proc_set_cred(p, newcred, false);
> > +#ifdef INVARIANTS
> > +   bool success =
> > +#endif
> > +   _proc_set_cred(p, newcred, false);
> >  
> >     MPASS(success);
>
> Apparently, the idiom for such a situation is to tag the variable with `__dia
> gused`, but the change above would have worked the same in the end.

I totally forgot about that.

>
> Thanks for watching the build!

Some of my machines use DEBUG others not.

>
> (And I now have one more thing on my before-commit list, since I forgot GENER
> IC-NODEBUG).

I typically make tinderbox (or make universe) in one of the universe jails.


-- 
Cheers,
Cy Schubert <cy.schub...@cschubert.com>
FreeBSD UNIX:  <c...@freebsd.org>   Web:  https://FreeBSD.org
NTP:           <c...@nwtime.org>    Web:  https://nwtime.org

                        e^(i*pi)+1=0




Reply via email to