delorie.com/archives/browse.cgi | search |
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=S3relwKM1+3AxnqP2ybCDc2+ulOujXh931XKXUiMiuZCpHPVDDAZN | |
cy1MN/oFyNVfw11DNq56TRUmhu+7OQ7iWQFoiF+7vXekkHgMG7kjVqQBvJe3E5Gw | |
9B/lb7KbvJ36dSh5qw1h+IyPsYBN9vS+ZjvXLU8esEJB3+2EvXpdHA= | |
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=1y/t/7VuYZ8r8UOBAelKs8jl58w=; b=Qs///ymkIfOg7jvO9H8Hibftx1Wl | |
UAhH/I2phjpVXonHk+GmMqD5HWiG6r13P7sCBg3LVKMMihi9fzBuT5Q3uQuyO/XP | |
NQ1gGJjkKDnsz7o3MnSCcaKgS0O1quSOJ42/Ft5ESYAyVLzpJzhYhx+78cUFycOe | |
LvRlt0cengeFAQ0= | |
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=-110.4 required=5.0 tests=BAYES_00,GIT_PATCH_2,GIT_PATCH_3,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=H*F:D*cygwin.com |
X-HELO: | mout.kundenserver.de |
Date: | Mon, 18 Feb 2019 11:10:09 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: fixup_mmaps_after_fork failure with cygwin-3.0.0 |
Message-ID: | <20190218101009.GU4256@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <1d506605-a0af-12c2-6faf-ac74ab842182 AT cornell DOT edu> <20190217090820 DOT GI4256 AT calimero DOT vinschen DOT de> <20190217091308 DOT GK4256 AT calimero DOT vinschen DOT de> <0587a444-6849-b35f-60b1-700282408f07 AT cornell DOT edu> <20190217150706 DOT GN4256 AT calimero DOT vinschen DOT de> <d2910b3c-d50e-c00e-90e0-0c54be6702fe AT cornell DOT edu> <20190217163955 DOT GO4256 AT calimero DOT vinschen DOT de> |
MIME-Version: | 1.0 |
In-Reply-To: | <20190217163955.GO4256@calimero.vinschen.de> |
User-Agent: | Mutt/1.10.1 (2018-07-13) |
--PY8tzLeNxmyMVNR3 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Feb 17 17:39, Corinna Vinschen wrote: > On Feb 17 16:34, Ken Brown wrote: > > On 2/17/2019 10:07 AM, Corinna Vinschen wrote: > > > On Feb 17 14:56, Ken Brown wrote: > > >> On 2/17/2019 4:13 AM, Corinna Vinschen wrote: > > >>>> If I may place a bet, please try to replace > > >>>> PROCESS_QUERY_LIMITED_INFORMATION with PROCESS_QUERY_INFORMATION > > >> > > >> That didn't change anything. Just to make sure I understood correct= ly, here's > > >> what I tried: > > >> > > >> --- a/winsup/cygwin/sigproc.cc > > >> +++ b/winsup/cygwin/sigproc.cc > > >> @@ -814,7 +814,7 @@ child_info::child_info (unsigned in_cb, child_in= fo_types chtype, > > >> allow the child to copy cygheap etc. from the parent to itse= lf. If > > >> we're forking, we also need handle duplicate access. */ > > >> parent =3D NULL; > > >> - DWORD perms =3D PROCESS_QUERY_LIMITED_INFORMATION | PROCESS_VM_RE= AD > > >> + DWORD perms =3D PROCESS_QUERY_INFORMATION | PROCESS_VM_READ > > >> | SYNCHRONIZE; > > >> if (type =3D=3D _CH_FORK) > > >> { > > >> > > >>> On second thought, an even better candidate may be PROCESS_VM_OPERA= TION. > > >> > > >> That's even worse. With that change, simply invoking 'make' leads to > > >> the same error. > > >=20 > > > PROCESS_VM_OPERATION has to be specified additionally, not replacing > > > PROCESS_QUERY_{LIMITED_}INFORMATION. Sorry if that wasn't clear. > >=20 > > Success: Simply adding PROCESS_VM_OPERATION to the existing permissions= fixes=20 > > the problem. >=20 > Thanks for tracking this down, I upload a fixed 3.0.1 pretty soon. Please try the today's developer snapshot from https://cygwin.com/snapshots/ Please note that cygcheck and mount utils need to be taken from the snapshot as well to mke sure they work correctly in terms of binary/text mounts. Thanks, Corinna --=20 Corinna Vinschen Cygwin Maintainer --PY8tzLeNxmyMVNR3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlxqhIEACgkQ9TYGna5E T6BUaw/9Fy6UNMCO3HYlVIh2SUBaQFWKK1BK1MqiiC/Dmg7D5YUzZnEYHqOP01Yg t+g/fd77cWLRWvLsPtqTqNkNOtwpKW16F+heHUqcHHneB4oOGqpGpyyYMaB1a8kd ZzQAL7NcWBJmhGR61F8qi8eYXzhhhKVGNN889pMcWfEzn6OqXbjxs2LS9zNRbUBi dfPDoPefokAP9EirXGDAyguvWzqEAr02xIG+d/Tnd3cZOyH1gcgseS2XuLukd/7N TWsShx8YeXRPEcS5BecQSNJrwyUV+zPL1JJ8T37g9Xz9ql8HO25xK0QSxiEql4fR jlTk+AbmtMYYrqCS16yB9KcEdNfvkQhkO7jScp1XW1HZCzG9zjOPy5JZ4VcNAkPK GDKBcw/J/8RpjWnRVJcj/I66nztdpA60zGAtkMGd3ByVx/0WZTZxyZE4XLTwcOhL ty+XtLgtyIj5PruhUilx12evBrsm2epnwGlVOHvHYTA8YSNtBCEbW5lUiO8GQFgg PZasbRJJamf8otrV5ByY13trLKrP+azKdDYjlT3ipJdozmNkE2CpPgXtx0UqaFuq BqbPxMrpya17lKBI+ZCYAAiRoPkbjKFI1eLF0Tno2HhINWLpJDexNLnNaM0V1vTg I6SzOgcOzt6TOqhHwF4k3jKpPtxZEkfitDINPnVMkPA9V1TjZyg= =wP4v -----END PGP SIGNATURE----- --PY8tzLeNxmyMVNR3--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |