From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 26 21:00:25 2007 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDA2D16A421 for ; Wed, 26 Sep 2007 21:00:25 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9E65413C474 for ; Wed, 26 Sep 2007 21:00:25 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l8QL0PC7023850 for ; Wed, 26 Sep 2007 21:00:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l8QL0Pko023849; Wed, 26 Sep 2007 21:00:25 GMT (envelope-from gnats) Date: Wed, 26 Sep 2007 21:00:25 GMT Message-Id: <200709262100.l8QL0Pko023849@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Zachary Loafman Cc: Subject: Re: kern/94256: [nfs] nfs locking/rpc.lockd doesn't understand file descriptor sharing X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Zachary Loafman List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2007 21:00:25 -0000 The following reply was made to PR kern/94256; it has been noted by GNATS. From: Zachary Loafman To: bug-followup@FreeBSD.org, kris@FreeBSD.org Cc: Subject: Re: kern/94256: [nfs] nfs locking/rpc.lockd doesn't understand file descriptor sharing Date: Wed, 26 Sep 2007 13:45:49 -0700 I'm a little confused here. >For example, a process may lock a file, fork, and >the child process inherits the file descriptor table and may >legitimately unlock the file. Uh, no: "File locks set by the parent process are not inherited by the child process." (http://www.opengroup.org/onlinepubs/007908799/xsh/fork.html)