From owner-freebsd-arch Tue Apr 3 16: 9:37 2001 Delivered-To: freebsd-arch@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id D2A4537B71F; Tue, 3 Apr 2001 16:09:35 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f33N8wD15085; Tue, 3 Apr 2001 16:08:58 -0700 (PDT) Date: Tue, 3 Apr 2001 16:08:58 -0700 From: Alfred Perlstein To: Brian Somers Cc: Matt Dillon , Robert Watson , freebsd-arch@FreeBSD.ORG Subject: Re: Eliminate crget() from nfs kernel code? Message-ID: <20010403160858.L12164@fw.wintelcom.net> References: <200104032254.f33Mso560006@hak.lan.Awfulhak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200104032254.f33Mso560006@hak.lan.Awfulhak.org>; from brian@Awfulhak.org on Tue, Apr 03, 2001 at 11:54:50PM +0100 X-all-your-base: are belong to us. Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Brian Somers [010403 15:50] wrote: > > > > Hmm, strange there's not a static cred available for these usages. > > > > 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] Represent yourself, show up at BABUG http://www.babug.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message