From owner-freebsd-arch Mon Feb 18 16:25:54 2002 Delivered-To: freebsd-arch@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 9E16E37B405; Mon, 18 Feb 2002 16:25:45 -0800 (PST) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.5) with SMTP id g1J0PdD89924; Mon, 18 Feb 2002 19:25:39 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Mon, 18 Feb 2002 19:25:38 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Julian Elischer Cc: arch@freebsd.org, dillon@freebsd.org, jhb@freebsd.org Subject: Re: that ucred invariant stuff. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 My understanding was that John saw this primarily as a debugging aid. No doubt: #ifdef OPTIONS_NULL_TD_UCRED ... #else ... #endif would be appropriate for general use once we're sure we're handling td_ucred fine, especially given the performance difference. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services On Mon, 18 Feb 2002, 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. > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-arch" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message