From owner-cvs-all Wed Nov 14 10:20:53 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 082FE37B418; Wed, 14 Nov 2001 10:20:47 -0800 (PST) Received: (from rwatson@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fAEIKk333678; Wed, 14 Nov 2001 10:20:46 -0800 (PST) (envelope-from rwatson) Message-Id: <200111141820.fAEIKk333678@freefall.freebsd.org> From: Robert Watson Date: Wed, 14 Nov 2001 10:20:45 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfsclient nfs_lock.c nfs_lock.h nfs_nfsiod.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 2001/11/14 10:20:45 PST Modified files: sys/nfsclient nfs_lock.c nfs_lock.h nfs_nfsiod.c Log: o Modify nfslockdans() to accept a thread reference instead of a proc reference: with td->td_ucred, it will be desirable to authorize based on td->td_ucred, rather than p->p_ucred. o Since the same variable 'p' was later used with pfind() on the target process for the wakeup, introduce a new local variable 'targetp' to use instead. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs Revision Changes Path 1.18 +14 -12 src/sys/nfsclient/nfs_lock.c 1.3 +2 -2 src/sys/nfsclient/nfs_lock.h 1.72 +2 -2 src/sys/nfsclient/nfs_nfsiod.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message