From owner-freebsd-arch Wed Feb 20 17:12:12 2002 Delivered-To: freebsd-arch@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 0C44337B41A; Wed, 20 Feb 2002 17:12:09 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.11.6/8.9.1) id g1L1C8091297; Wed, 20 Feb 2002 17:12:08 -0800 (PST) (envelope-from dillon) Date: Wed, 20 Feb 2002 17:12:08 -0800 (PST) From: Matthew Dillon Message-Id: <200202210112.g1L1C8091297@apollo.backplane.com> To: John Baldwin Cc: Julian Elischer , arch@FreeBSD.ORG Subject: Re: RE: that ucred invariant stuff. References: Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :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 <>< 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message