Date: Mon, 9 Apr 2001 19:12:41 +0000 (GMT) From: Terry Lambert <tlambert@primenet.com> To: rwatson@FreeBSD.ORG (Robert Watson) Cc: dillon@earth.backplane.com (Matt Dillon), tlambert@primenet.com (Terry Lambert), freebsd-arch@FreeBSD.ORG Subject: Re: Eliminate crget() from nfs kernel code? Message-ID: <200104091912.MAA27312@usr08.primenet.com> In-Reply-To: <Pine.NEB.3.96L.1010406214910.13782E-100000@fledge.watson.org> from "Robert Watson" at Apr 06, 2001 09:53:32 PM
next in thread | previous in thread | raw e-mail | index | archive | help
> Ok, I've committed a change to 5.0-CURRENT to move to simply using the > p->p_ucred rather than constructing a ucred using crget(). I've interop'd > with Solaris and FreeBSD NFS servers, and it seemed to work fine. I'd > appreciate it if others could do testing -- the primary test is simply > whether "df /your/nfs/mount" running as non-root DTRT. I haven't had a > chance yet, but sometime in the next day or two I'll get out and RPC > dumper (dunno if tcpdump knows how to do this, maybe snoop from Solaris > does) and look at the credentials used for NFSPROC_STATFS requests > generated by other implementations. Chances are, if another already uses > normal non-uid-0 non-gid-0 credentials, then we're safe. Specifically, this should be tested for interoperability with AIX NFS, which can be pissy about credentials which don't exist locally. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. 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?200104091912.MAA27312>