From owner-cvs-all Wed Jul 24 7:24:26 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5596C37B407; Wed, 24 Jul 2002 07:24:17 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07E6443E31; Wed, 24 Jul 2002 07:24:17 -0700 (PDT) (envelope-from rwatson@FreeBSD.org) Received: from freefall.freebsd.org (rwatson@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6OEOGJU027695; Wed, 24 Jul 2002 07:24:16 -0700 (PDT) (envelope-from rwatson@freefall.freebsd.org) Received: (from rwatson@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6OEOGlI027694; Wed, 24 Jul 2002 07:24:16 -0700 (PDT) Message-Id: <200207241424.g6OEOGlI027694@freefall.freebsd.org> From: Robert Watson Date: Wed, 24 Jul 2002 07:24:16 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfsserver nfs_srvsock.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG rwatson 2002/07/24 07:24:16 PDT Modified files: sys/nfsserver nfs_srvsock.c Log: Stick a dark comment in about the fact that the NFS server code allocates a ucred by itself as part of an nfs descriptor, then bzero's the ucred, fails to initialize the mutex, etc. This is very bad, but I don't have time to fix it right now. nfsd should instead hold a cred pointer, and the credential should be properly initialized, probably from a descendent of a kernel process credential. Revision Changes Path 1.79 +7 -0 src/sys/nfsserver/nfs_srvsock.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message