Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com Message-ID: <02c101c22bfb$c3bf1220$1800a8c0@LAPTOP> From: "Robert Collins" To: References: <20020715103127 DOT A6932 AT cygbert DOT vinschen DOT de> <006b01c22be7$15deadf0$1800a8c0 AT LAPTOP> <20020715131019 DOT C17700 AT cygbert DOT vinschen DOT de> <01b701c22bf1$d08e88f0$1800a8c0 AT LAPTOP> <20020715141034 DOT G6932 AT cygbert DOT vinschen DOT de> Subject: Re: How about this for passing file descriptors? Date: Mon, 15 Jul 2002 22:33:03 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 ----- Original Message ----- From: "Corinna Vinschen" To: 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