delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/06/18/06:17:38

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=Gq5B+SpCxlbichGOxIrEP5OFjjUaO7ecz3+PoKvDvXzBY1/ka+P3V
vnmPlX7cZHkFg+X4B3NZB/aahrJ44BnEKutLffDDCJoL1+NkL03luszHWwsv8Jd/
TIOvUa80yLivRHaTp8fAXRbfF0vMJllbMD6rqG3n2CVON+R8I/pIcU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=m7EScEqhnR4/S+ZzjYmwedm+VOM=; b=FzEaWsfMSCJyIrBTPBT9d2zOIQT9
MAwZ9sPXlh8rpqrdD3LYGSDK9ZwlBZY3DngXxpVRd0HlOYevttvEq+QsrvAKAYRG
jp7KHGkqkXOTL7zYmmbC62yW0hXsIlJR1OmG7Dm90O0Ww0tjvEkJ0FVsPF4/ykDw
oDNRR6PDV7ITtsw=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1
Date: Tue, 18 Jun 2013 12:17:06 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Cross-compiling Linux kernel
Message-ID: <20130618101706.GB27405@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <003401ce6b5d$f6ec87b0$e4c59710$%fedin AT samsung DOT com> <51BF7465 DOT 2030104 AT users DOT sourceforge DOT net> <001301ce6bf0$ea4904a0$bedb0de0$%fedin AT samsung DOT com>
MIME-Version: 1.0
In-Reply-To: <001301ce6bf0$ea4904a0$bedb0de0$%fedin@samsung.com>
User-Agent: Mutt/1.5.21 (2010-09-15)

On Jun 18 10:56, Fedin Pavel wrote:
> [...]
>  P.S. I have got even more crazy idea, perhaps deserving a separate topic...
> BSD systems have Linux binary compatibility layer. Could we have one ?
> Technically this depends on ability to construct process image manually in
> Windows (*). Is it possible (using NT API of course) ? And, of course,
> someone needs lots of spare time to code this. :) OTOH, CoLinux already does
> this (yep, they are not 64-bit for now...), so perhaps there's no need to
> duplicate the job done.

Not in the Cygwin DLL.  As an extra DLL layer I don't have a problem
with that.

>  P.P.S. Perhaps the answer to (*) is NO, otherwise we would have fast
> fork()...

That's not quite correct.  The problem is not utilizing the native NT
functions to create a process image, the problem is that the Win32
libraries like advapi32, msvcrt, etc, which are directly or indirectly
loaded into a Cygwin process, are not capable to deal with a process
clone situation.  They were never designed this way and there's not much
chance they will ever get a revamp, just to allow Cygwin to create a
fast fork.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

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

- Raw text -


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