This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How about this for passing file descriptors?


----- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]