]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
o Modify nfslockdans() to accept a thread reference instead of a proc
authorRobert Watson <rwatson@FreeBSD.org>
Wed, 14 Nov 2001 18:20:45 +0000 (18:20 +0000)
committerRobert Watson <rwatson@FreeBSD.org>
Wed, 14 Nov 2001 18:20:45 +0000 (18:20 +0000)
commit69aaef01227cdf9ede9472595ef47c48906ce2d4
tree725afa461cc74ca5f5cf3810e227f0b15ecc063c
parent2ac0462f164eb1935703abcd88e8f0630d128385
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
sys/nfsclient/nfs_lock.c
sys/nfsclient/nfs_lock.h
sys/nfsclient/nfs_nfsiod.c