Searched hist:115012 (Results 1 - 1 of 1) sorted by last modified time

/freebsd-9.3-release/usr.sbin/rpc.lockd/
H A Dkern.cdiff 115012 Thu May 15 01:19:30 MDT 2003 rwatson When getting back an NLM DENIED response for a requested lock from the
server, map it to EAGAIN locally rather than EACCES. The NLM spec
indicates the DENIED corresponds to lock contention, not a permission
failure. This fixes O_EXLOCK/O_SHLOCK with O_NONBLOCK, which would
previously give a permission error, which in turn fixes things
like mailq(8) and lockf(1) over NFS.

Approved by: scottl (re)
Reviewed by: truckman, Andrew P Lentvorski, Jr. <bsder@allcaps.org>
Idea from: truckman

Completed in 54 milliseconds