Date: Sun, 18 Jan 1998 22:36:29 +0000 (GMT) From: Terry Lambert <tlambert@primenet.com> To: guido@gvr.org (Guido van Rooij) Cc: tlambert@primenet.com, FreeBSD-hackers@FreeBSD.ORG Subject: Re: socket ops Message-ID: <199801182236.PAA05447@usr04.primenet.com> In-Reply-To: <199801182228.XAA24830@gvr.gvr.org> from "Guido van Rooij" at Jan 18, 98 11:28:12 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> > Look for "struct fileops" in /sys/kern/*.c, and all will be revealed. > > > > The mode is referenced via VOP_GETATTR/VOP_SETATTR off of a vnode > > to get the FS specific method of getting/setting mode bits. If you > > do not have a backing object, you do not have mode bits. > > ?? There *is* a backing object. I am talking about UNIX domain > sockets here. That's a handle object, not a backing object. Go look for the "struct fileops" stuff. If there was a backing object, you'd reference the thing by vnode and you'd be able to fchmod it. Look at it this way; I call socketpair(). In which FS does the backing object (inode that I can reference by vnode) exist? Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801182236.PAA05447>