From owner-freebsd-arch Wed Feb 20 14:28: 5 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by hub.freebsd.org (Postfix) with ESMTP id 499A037B41E for ; Wed, 20 Feb 2002 14:27:25 -0800 (PST) Received: (qmail 4846 invoked from network); 20 Feb 2002 22:27:23 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([65.90.117.57]) (envelope-sender ) by mail6.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 20 Feb 2002 22:27:23 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Wed, 20 Feb 2002 17:27:26 -0500 (EST) From: John Baldwin To: Julian Elischer Subject: RE: that ucred invariant stuff. Cc: dillon@freebsd.org, arch@freebsd.org 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/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message