Date: Wed, 20 Feb 2002 17:12:08 -0800 (PST) From: Matthew Dillon <dillon@apollo.backplane.com> To: John Baldwin <jhb@FreeBSD.ORG> Cc: Julian Elischer <julian@elischer.org>, arch@FreeBSD.ORG Subject: Re: RE: that ucred invariant stuff. Message-ID: <200202210112.g1L1C8091297@apollo.backplane.com> References: <XFMail.020220172726.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
:On 18-Feb-02 Julian Elischer wrote: :> :> John, do you REALLY want that invariant stuff to clear ucreds in user :> space. Matt and I discussed it and we'd really prefer to just shoot it. :> I'm not sure what it gives you but I'm planning on having a flag on teh :> thread that says when the thread is supposed to be in user mode :> so maybe you can test that instead if you suspect that you're accessing :> a thread presently in userland. : :If you want to add KASSERT()'s to _every_ place we use td_ucred to test that :flag, then go for it. :) That would be an equivalent change once the td_ucred :stuff goes in. : :-- : :John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ :"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ Well, if you don't want to simply remove it then we need to create a kernel option for it, because it is seriously getting in the way of testing the way it is now. So should we make a kernel option and if so what do you want the default state to be? -Matt Matthew Dillon <dillon@backplane.com> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202210112.g1L1C8091297>