Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2007 08:38:39 GMT
From:      Mikael Vidstedt<mikael.vidstedt@bea.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/112591: Non-monitored locks are dummy-implemented
Message-ID:  <200705110838.l4B8cdMi082221@www.freebsd.org>
Resent-Message-ID: <200705110850.l4B8o35r027756@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705110838.l4B8cdMi082221>