mirror of
https://github.com/opnsense/src.git
synced 2026-02-13 07:44:48 -05:00
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 |
||
|---|---|---|
| .. | ||
| kern.c | ||
| lock_proc.c | ||
| lockd.c | ||
| lockd.h | ||
| lockd_lock.c | ||
| lockd_lock.h | ||
| Makefile | ||
| rpc.lockd.8 | ||
| test.c | ||