Date: Wed, 26 Sep 2007 21:00:25 GMT From: Zachary Loafman <zachary.loafman@isilon.com> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/94256: [nfs] nfs locking/rpc.lockd doesn't understand file descriptor sharing Message-ID: <200709262100.l8QL0Pko023849@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/94256; it has been noted by GNATS. From: Zachary Loafman <zachary.loafman@isilon.com> 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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709262100.l8QL0Pko023849>