Date: Wed, 14 Nov 2001 10:20:45 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfsclient nfs_lock.c nfs_lock.h nfs_nfsiod.c Message-ID: <200111141820.fAEIKk333678@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111141820.fAEIKk333678>