Subject: Re: kern/6062: bind() to unix domain socket doesn't use emul path
To: None <sp128@ibm.net>
From: Todd Vierling <tv@pobox.com>
List: netbsd-bugs
Date: 08/28/1998 08:39:44
On Thu, 27 Aug 1998 sp128@ibm.net wrote:

:   When bind() attaches a path name to a unix domain socket, an applicable
:   emulation path is not used in determining where to create the filesystem
:   node.

This is deliberate.  The emulation path is only used when reading a file or
when writing to an already existing file.  (The concept is, "if you're
writing a new file, it may be wanted by something more than the emulation
environment.")  It's not just bind() that is "affected" by this; it's
open(..., O_CREAT) as well.

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)