From owner-freebsd-hackers Sun Jan 18 14:49:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA22130 for hackers-outgoing; Sun, 18 Jan 1998 14:49:19 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA22112 for ; Sun, 18 Jan 1998 14:49:00 -0800 (PST) (envelope-from tlambert@usr04.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.8/8.8.8) id PAA01664; Sun, 18 Jan 1998 15:38:44 -0700 (MST) Received: from usr04.primenet.com(206.165.6.204) via SMTP by smtp03.primenet.com, id smtpd001632; Sun Jan 18 15:38:35 1998 Received: (from tlambert@localhost) by usr04.primenet.com (8.8.5/8.8.5) id PAA05582; Sun, 18 Jan 1998 15:38:31 -0700 (MST) From: Terry Lambert Message-Id: <199801182238.PAA05582@usr04.primenet.com> Subject: Re: socket ops To: guido@gvr.org (Guido van Rooij) Date: Sun, 18 Jan 1998 22:38:31 +0000 (GMT) Cc: guido@gvr.gvr.org, tlambert@primenet.com, FreeBSD-hackers@FreeBSD.ORG In-Reply-To: <199801182234.XAA24903@gvr.gvr.org> from "Guido van Rooij" at Jan 18, 98 11:34:25 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk > The problem here is that the struct file underneath the file descriptor > is of type DTYPE_SOCKET. However, there *is* a backing vnode if the > socket happens to be in the unix domain. Indeed there is no simpe > way (I think) to find that out runtime. But that was not the question. > > I still think it is a bit strange we cannot use f*() functions on > files in the unix name space. I didn't say it wasn't stupid, I just answered your "why" question. If I had my "druthers", I would delete struct fileops; however, I rarely am allowed "druthers". Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.