kern/94256: [nfs] nfs locking/rpc.lockd doesn't understand file descriptor sharing

Zachary Loafman zachary.loafman at isilon.com
Wed Sep 26 14:00:25 PDT 2007


The following reply was made to PR kern/94256; it has been noted by GNATS.

From: Zachary Loafman <zachary.loafman at isilon.com>
To: bug-followup at FreeBSD.org,  kris at 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)
 
 
 


More information about the freebsd-bugs mailing list