delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/02/08/11:40:02

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type; q=dns; s=default; b=dSdX
m40fv3Ni82T5LGDP54pRnK4Ywmp0HxJoYTt2/BuqDKSgJvJlIcwI12j2qNXYmF3N
el/WgMVasgYVFBt9q7BRZRNBks9hDsUK8i0KKKm7ZjyQR6+ndNXXbKCsf2GJo/bf
nHo1tLtE6OfvZQ9ffL5tgK8k6VnINM2g9mGcWsU=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type; s=default; bh=elfCgPXjBB
AmBi6WfvWEpemXFvg=; b=H3IJ3a8E213fyw44QDEXJDicMbh+UqZs+1ITeweOkL
lpuvKtSeYHqSs6CxCDqZLOiKUMAV4mixUB2NM5TX8NOPQdsJ4iJ6vJU9r2wFH1mY
3yehYiewiw7hZQiQiRJYM1LCNlw3+OI3u1AbUO/DniX5s212D1Xp/0F/1SMP6cxT
s=
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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-26.4 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=shutdown, para
X-HELO: atfriesa01.ssi-schaefer.com
Subject: Re: [ANNOUNCEMENT] TEST: Cygwin 3.0.0-0.7
To: cygwin AT cygwin DOT com
References: <announce DOT 20190205151855 DOT GD16130 AT calimero DOT vinschen DOT de> <02da4eeb-fcce-b1bc-e6eb-68ff3ec0cf74 AT ssi-schaefer DOT com> <20190207182735 DOT GG13951 AT calimero DOT vinschen DOT de> <8a2f041f-f8f7-6e17-5d97-5a168440009b AT ssi-schaefer DOT com> <20190208113158 DOT GH13951 AT calimero DOT vinschen DOT de> <17e339bb-2115-bf22-7291-04215aab3150 AT ssi-schaefer DOT com> <20190208122126 DOT GM13951 AT calimero DOT vinschen DOT de> <20190208122338 DOT GN13951 AT calimero DOT vinschen DOT de> <b07e6ba2-0ce0-4662-7a02-bda6ce3b0108 AT ssi-schaefer DOT com> <20190208130635 DOT GO13951 AT calimero DOT vinschen DOT de> <20190208132807 DOT GP13951 AT calimero DOT vinschen DOT de>
From: Michael Haubenwallner <michael DOT haubenwallner AT ssi-schaefer DOT com>
Message-ID: <d9e14a36-d927-6cd9-d2e8-cf1aee1ec8c9@ssi-schaefer.com>
Date: Fri, 8 Feb 2019 17:35:28 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0
MIME-Version: 1.0
In-Reply-To: <20190208132807.GP13951@calimero.vinschen.de>

--------------CB0B44731D5B43F44918B30C
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit


On 2/8/19 2:28 PM, Corinna Vinschen wrote:
> 
> I pushed your forkable branch to master, btw.  Would you mind to do the
> honors in the ;rease notes at cygwin/release/3.0 and doc/new-features.xml?

Do you mean like this?

/haubi/

--------------CB0B44731D5B43F44918B30C
Content-Type: text/x-patch;
 name="0001-forkables-add-release-notes.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="0001-forkables-add-release-notes.patch"

From 0461e0a552caf0c58ab7999cfd2849c7180f7d30 Mon Sep 17 00:00:00 2001
From: Michael Haubenwallner <michael DOT haubenwallner AT ssi-schaefer DOT com>
Date: Fri, 8 Feb 2019 15:38:56 +0100
Subject: [PATCH] forkables: add release notes

---
 winsup/cygwin/release/3.0   | 10 ++++++++++
 winsup/doc/new-features.xml | 12 ++++++++++++
 2 files changed, 22 insertions(+)

diff --git a/winsup/cygwin/release/3.0 b/winsup/cygwin/release/3.0
index 4cd422a56..ef45e9f9d 100644
--- a/winsup/cygwin/release/3.0
+++ b/winsup/cygwin/release/3.0
@@ -66,6 +66,16 @@ What changed:
   Native Windows processes not started by Cygwin processes are mapped
   into the range beyond 65535.
 
+- Limited to executables and dlls located on the very same NTFS partition
+  as the Cygwin installation itself, and disabled by default, fork(2) now
+  is able to recover from when the executable or any dll required to load
+  into the new child process was removed or replaced since being loaded
+  into the parent process, or a dll with different content is found in the
+  parent process' current directory.  To enable this recovery feature, the
+  following command has to be executed once per Cygwin installation, with
+  subsequent shutdown of all Cygwin processes (or reboot), so the first
+  Cygwin process does find this directory existing:
+  $ mkdir --mode=a=rwxt /var/run/cygfork
 
 Bug Fixes
 ---------
diff --git a/winsup/doc/new-features.xml b/winsup/doc/new-features.xml
index 6801e3eeb..316a7446a 100644
--- a/winsup/doc/new-features.xml
+++ b/winsup/doc/new-features.xml
@@ -107,6 +107,18 @@ Native Windows processes not started by Cygwin processes are mapped
 into the range beyond 65535.
 </para></listitem>
 
+<listitem><para>
+Limited to executables and dlls located on the very same NTFS partition
+as the Cygwin installation itself, and disabled by default, fork(2) now
+is able to recover from when the executable or any dll required to load
+into the new child process was removed or replaced since being loaded
+into the parent process, or a dll with different content is found in the
+parent process' current directory.  To enable this recovery feature, the
+following command has to be executed once per Cygwin installation, with
+subsequent shutdown of all Cygwin processes (or reboot), so the first
+Cygwin process does find this directory existing:
+$ mkdir --mode=a=rwxt /var/run/cygfork
+</para></listitem>
 </itemizedlist>
 
 </sect2>
-- 
2.17.0



--------------CB0B44731D5B43F44918B30C
Content-Type: text/plain; charset=us-ascii


--
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
--------------CB0B44731D5B43F44918B30C--

- Raw text -


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