Date: Tue, 23 Jan 2001 00:13:39 -0800 From: Alfred Perlstein <alfred@FreeBSD.ORG> To: "Brian F. Feldman" <green@FreeBSD.ORG> Cc: arch@FreeBSD.ORG Subject: Re: struct ucred is evil and must be contained Message-ID: <20010123001339.L26076@fw.wintelcom.net> In-Reply-To: <200101230358.f0N3wvW01298@green.dyndns.org>; from green@FreeBSD.ORG on Mon, Jan 22, 2001 at 10:58:56PM -0500 References: <200101230358.f0N3wvW01298@green.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* Brian F. Feldman <green@FreeBSD.ORG> [010122 19:59] wrote: > Okay, maybe the subject is a bit sensationalistic, but the fact remains that > ucred has grown into a monster, in the same manner of struct proc, that > needs to be carefully contained. In this vain, I've created a struct xucred > and replaced uses of ucred outside of the kernel with it where possible. > > This will also happen to fix the bug that if you screw up your interfaces > (change the size of ucred, for example), mountd and nfsd will not panic the > kernel because of it. This is a very good thing! Comments? As long as it doesn't break world, it looks good. :) Thanks for taking the time to do this. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." 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?20010123001339.L26076>