From owner-freebsd-hackers Mon Feb 5 09:31:29 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA11756 for hackers-outgoing; Mon, 5 Feb 1996 09:31:29 -0800 (PST) Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA11751 for ; Mon, 5 Feb 1996 09:31:27 -0800 (PST) Received: from gemini.sdsp.mc.xerox.com ([13.231.132.20]) by alpha.xerox.com with SMTP id <14823(2)>; Mon, 5 Feb 1996 09:30:48 PST Received: from gnu.mc.xerox.com (gnu.sdsp.mc.xerox.com) by gemini.sdsp.mc.xerox.com (4.1/SMI-4.1) id AA07450; Mon, 5 Feb 96 12:30:33 EST Received: by gnu.mc.xerox.com (4.1/SMI-4.1) id AA00291; Mon, 5 Feb 96 12:30:33 EST Message-Id: <9602051730.AA00291@gnu.mc.xerox.com> To: hackers@freebsd.org Subject: passings fds Date: Mon, 5 Feb 1996 09:30:32 PST From: "Marty Leisner" Sender: owner-hackers@freebsd.org Precedence: bulk I'm not sure I understand send/recv over Unix domain stream sockets (is this possible?) Also, aren't writes less than a PIPEBUF (i.e atomic?) Also, I see msg_accrights/msg_accrightslen was changed to msg_control/msg_controllen...was this a change from 4.3 to 4.4? Can the receive tell how many fd's were passed? I assume you need to fill the fd array with -1 to tell what got changed... What happens if the receiver doesn't provide space for the fds? marty leisner@sdsp.mc.xerox.com Member of the League for Programming Freedom (http://www.lpf.org) Any sufficiently advanced technology is indistinguishable from magic Arthur C. Clarke, The Lost Worlds of 2001