This is the mail archive of the
mailing list for the Cygwin project.
Re: Descriptor passing between process
On Thu, Jan 24, 2002 at 04:45:13PM +0300, Egor Duda wrote:
> Thursday, 24 January, 2002 Corinna Vinschen firstname.lastname@example.org wrote:
> CV> On Thu, Jan 24, 2002 at 04:14:20PM +0300, Egor Duda wrote:
> >> CV> It's part of the API since 1.3.8-1.
> >> Hmm. What change are you referring to? I don't see anything like this
> >> in the ChangeLog.
> CV> 2002-01-19 Mark Bradshaw <email@example.com>
> CV> * cygwin.din: Add recvmsg and sendmsg.
> CV> * net.cc: Add cygwin_recvmsg and cygwin_sendmsg.
> CV> * /usr/include/sys/socket.h: Add recvmsg and sendmsg.
> yes, but if i understand things correctly, Christophe was talking
> about passing file descriptors between processes by means of AF_UNIX
> sockets. btw, "Subject:" implies this :).
> this is done on unices via msg_control (or msg_accrights) field in msg
> structure. and unices ensure that the process which receives the
> message using recvmsg can use the descriptor for all kinds of file
> operations. in the case of cygwin, the receiver may get the value 3 in
> message packet, but won't be able to use it in "read (3, buf, sizeof (buf))"
Ouch. I didn't read your message correctly before sending the
reply to Christophe's mail.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:firstname.lastname@example.org
Red Hat, Inc.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html