X-Spam-Check-By: sourceware.org
Date: Thu, 24 Nov 2005 11:48:04 -0500
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: WSADuplicateSocket used to implement ssh session multiplexing?
Message-ID: <20051124164804.GA12239@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
References: <4a162fd0511231156h142d7a7fnb598aee09b134ec4@mail.gmail.com> <20051124112503.GA2999@calimero.vinschen.de> <20051124113956.GW5385@implementation.labri.fr> <20051124154138.GH2999@calimero.vinschen.de> <20051124164139.GA5385@implementation.labri.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20051124164139.GA5385@implementation.labri.fr>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Thu, Nov 24, 2005 at 05:41:39PM +0100, Samuel Thibault wrote:
>Corinna Vinschen, le Thu 24 Nov 2005 16:41:38 +0100, a ?crit :
>>On Nov 24 12:39, Samuel Thibault wrote:
>>>Corinna Vinschen, le Thu 24 Nov 2005 12:25:03 +0100, a ?crit :
>>>>You're missing the infrastructure necessary to send file descriptor
>>>>data between processes.
>>>
>>>This is not trivial indeed, but it is _possible_, isn't it?
>>
>>Well, sure, everything is possible one way or the other.
>
>Not when it requires modifying the windows kernel because of security
>guards.  Here, transfering a windows socket handle _is_ possible with
>the current kernel.  Work only resides in cygwin.  That's the expected
>answer to the original question, I guess.

Yeah, if only the infrastructure necessary to send file descriptor data
between processes wasn't trivial.  If it was, we could even use plain
old DuplicateHandle.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

