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=XCst44ibP3OzDXRRs67YB7FcUGHjTIfVum57NhICYId3PAxIjecK7 | |
/xcDqEMXWm1/zPqQf1Ol8Uysa2kXOc3SRlL4TL4kjUMXFTyi3FcUlMWZde1bttjq | |
5VDx755HYzsbLmc72RkI9RsIky5vW/2cUfUDUNDH6G71cztT0CvHkQ= | |
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=E0dsYV95QNc/ExSgtt361lCsqVI=; b=CO897IIYI4sKGGxcu7ICsgBgH7wL | |
YF4YqZwc76998NvZqyWwLNVR6A2MR87twJnHQ3z1VcHGjVea4f7StS+HN/iukQ34 | |
82jdY9QGe+CdDNh/oruq2Ii/J6550GuQ+xo7/cZahmuilBlNIbc1N2fTVbYehEli | |
xbPL6AJOtSovr2s= | |
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=-123.8 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=Hx-languages-length:1503, catching |
X-HELO: | mout.kundenserver.de |
Date: | Wed, 4 Jul 2018 12:51:08 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Named AF_UNIX socket not working in cygwin1.dll of git HEAD. |
Message-ID: | <20180704105108.GM3111@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <20180703194429 DOT 6aeab3cb1041fe475ecde834 AT nifty DOT ne DOT jp> <20180703130558 DOT GI3111 AT calimero DOT vinschen DOT de> <20180704020108 DOT a1aa8188429a83986b5a19d7 AT nifty DOT ne DOT jp> <20180704041740 DOT 82e2bae6c8cd016a3c303c94 AT nifty DOT ne DOT jp> |
MIME-Version: | 1.0 |
In-Reply-To: | <20180704041740.82e2bae6c8cd016a3c303c94@nifty.ne.jp> |
User-Agent: | Mutt/1.9.2 (2017-12-15) |
--HTLCc13+3hfAZ6SL Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jul 4 04:17, Takashi Yano wrote: > Hi Corinna, >=20 > On Wed, 4 Jul 2018 02:01:08 +0900 > Takashi Yano wrote: > > I have check and found this happens only in 32 bit version. I mean > > 32 bit cygwin on 64 bit windows 10. 64 bit version work as expected. >=20 > I have looked into this problem, and found calling af_local_set_secret() > in fhandler_socket_local::bind() causes exception 0xc0000005. >=20 > Calling RtlGenRandom() in af_local_set_secret() may not be as expected. >=20 > While building cygwin1.dll in 32 bit environment, following warning is > shown. This is probably the cause. >=20 > Warning: resolving _SystemFunction036 by linking to _SystemFunction036 AT 8 >=20 > I am not sure why, but the following patch seems to be able solve this > problem. >=20 > diff --git a/winsup/cygwin/fhandler_socket_local.cc b/winsup/cygwin/fhand= ler_socket_local.cc > index 2e01f30a2..68786f3a4 100644 > --- a/winsup/cygwin/fhandler_socket_local.cc > +++ b/winsup/cygwin/fhandler_socket_local.cc > @@ -21,7 +21,7 @@ > #undef u_long > #define u_long __ms_u_long > #endif > -#include <w32api/ntsecapi.h> > +#include <ntsecapi.h> > #include <w32api/ws2tcpip.h> > #include <w32api/mswsock.h> > #include <unistd.h> >=20 > Thank you. Thanks for catching. I pushed your patch (using "" rather than <> just for clearness) with a description. Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --HTLCc13+3hfAZ6SL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAls8ppwACgkQ9TYGna5E T6BLiA//auiX+xWGSho1jzD0uBDfrcElBX76AI/Pcvj5JM7qU7k6nzb2hpahMao2 7as3SLsmJNHsqUwJ8QDYLCwa06XDiTE9Dpw6sm12bF/mGicRNLA7MZmYyWSxLdLn BJblgL/f2128JVds6oy03Fwoun4c7h2KHZvHx3kpkYFX9onHJ6B0B+Eiwt94hd3n o6uDlDKreHp0jMlizzzPOclw7/7tW9717HRPDfyr1gjuGLVoi6AANRqPjqO5Vy1j NTsJ9OkPf3E5aVAJ5VZ4FpVXIWToWPo+aOq4zuejkr1fq0/mTfRiVqtX+FdrbsY+ NfjSnar4rVp2FECX9xJgDlqDNymqK49/1X/nEyoOOeFme0/63VaLw6YNL+vHFmsd ycn+3lVnr9JcC8Dq++5rMUmSMB1aAnoMH1lw9Kg1aLyToktJe22pPi85gpcFTLlL w5rk8+PpJjF86F/q45NRwh7NjxvUxMXklqLipWn2CsLiXKQga09q58wcRMJYCW07 Nfo6igap4koROVMFf1Lq2D9BGAAEFtZ/1+3qQb5bt1fL5N+KDHGlHJEW0f4rOgnU EJXabl4gE7PeV5WsM6FAb67NZd7BFrut3s+D79/CGrqVfBYxfuqclrV+JMvh6LKL mTm9g8cIsMIEGyqFFRBXk/w6vtNONMQIkbaqV5mneAyVZW7BRXo= =3UYo -----END PGP SIGNATURE----- --HTLCc13+3hfAZ6SL--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |