misc/112591: Non-monitored locks are dummy-implemented

Mikael Vidstedt mikael.vidstedt at bea.com
Fri May 11 08:50:04 UTC 2007


>Number:         112591
>Category:       misc
>Synopsis:       Non-monitored locks are dummy-implemented
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 11 08:50:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Mikael Vidstedt
>Release:        6.2
>Organization:
BEA Systems, Inc.
>Environment:
FreeBSD  6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007     root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
As far as I can tell, the implementation of the NLMPROC4_NM_LOCK RPC procedure is not correctly implemented. It looks like it always returns "granted" regardless of the actual locking state of the file handle.

If a full implementation is not possible, I would at least say that returning "denied" is a better implementation, since "granted" may lead to data corruption.
>How-To-Repeat:
-
>Fix:
-
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list