delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2002/07/15/08:33:16

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <robert DOT collins AT syncretize DOT net>
To: <cygwin-developers AT cygwin DOT com>
References: <Pine DOT LNX DOT 4 DOT 33 DOT 0207131534200 DOT 3194-100000 AT this> <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
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

----- Original Message -----
From: "Corinna Vinschen" <vinschen AT redhat DOT com>
To: <cygwin-developers AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019