From owner-freebsd-arch Tue Apr 3 16:35:51 2001 Delivered-To: freebsd-arch@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id 8669F37B71F; Tue, 3 Apr 2001 16:35:49 -0700 (PDT) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.2/8.9.3) id f33NZWK73052; Tue, 3 Apr 2001 16:35:32 -0700 (PDT) (envelope-from dillon) Date: Tue, 3 Apr 2001 16:35:32 -0700 (PDT) From: Matt Dillon Message-Id: <200104032335.f33NZWK73052@earth.backplane.com> To: Alfred Perlstein Cc: Brian Somers , Robert Watson , freebsd-arch@FreeBSD.ORG Subject: Re: Eliminate crget() from nfs kernel code? References: <200104032254.f33Mso560006@hak.lan.Awfulhak.org> <20010403160858.L12164@fw.wintelcom.net> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :> > What about using process 0's ucred, does it even have one? :> > :> > I'm sure there's other examples of how to do this correctly in the :> > code. :> :> Solaris has a ``kcred'' global - wrapped with a CRED() macro AFAIR. :> Maybe that'd be useful here ? : :Yes, it most likely would. :-- :-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] That is an excellent idea. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message