How about this for passing file descriptors?

Robert Collins robert.collins@syncretize.net
Mon Jul 15 05:33:00 GMT 2002


----- Original Message -----
From: "Corinna Vinschen" <vinschen@redhat.com>
To: <cygwin-developers@cygwin.com>
Sent: Monday, July 15, 2002 10:10 PM

> That's not entirly true.  The sendmsg/recvmsg code needs to send the
> pid to the other process and one of the processes has to open the
> other process anyway so the handles are always known before the
> duplication takes place.  It's just not possible otherwise.

Thats true...I was generalising to both the cygserverless and cygserver
case - as they both have the same challenge in this respect (the challenge
being identifing *what* handles and internal metadata a given fd needs).

Anyway, as I'm not coding this.... it's your call.

Rob



More information about the Cygwin-developers mailing list