delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/24/11:48:17

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

- Raw text -


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