summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfs_lock.h
Commit message (Collapse)AuthorAgeFilesLines
* For reasons unknown, the nfs locking code used a fifo to send requests tophk2004-12-061-3/+3
| | | | | | | | | | | | | userland and a dedicated system call to get replies. The vnode-bypass of fifos broke this into a panic. Ditch all the magic and create a device /dev/nfslock instead, and use that for both directions apart from the shorter path, this is also faster because the device driver runs Giant free using the vnode bypass. Noticed by: marcel
* Remove a case of exposing 'struct ucred' to userspace. Use a struct xucredalfred2002-08-151-1/+1
| | | | | | for LOCKD_MSG instead. Requested by: rwatson
* Add IPv6 support.alfred2002-07-151-2/+2
| | | | Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
* o Modify nfslockdans() to accept a thread reference instead of a procrwatson2001-11-141-1/+1
| | | | | | | | | | | 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
* Cleanup and split of nfs client and server code.peter2001-09-181-23/+3
| | | | This builds on the top of several repo-copies.
* Implement client side NFS locks.alfred2001-04-171-0/+112
Obtained from: BSD/os Import Ok'd by: mckusick, jkh, motd on builder.freebsd.org
OpenPOWER on IntegriCloud