Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2002 17:27:26 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Julian Elischer <julian@elischer.org>
Cc:        dillon@freebsd.org, arch@freebsd.org
Subject:   RE: that ucred invariant stuff.
Message-ID:  <XFMail.020220172726.jhb@FreeBSD.org>
In-Reply-To: <Pine.BSF.4.21.0202180047480.39539-100000@InterJet.elischer.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/

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?XFMail.020220172726.jhb>