delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/03/16/11:19:18

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C9F583861828
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1615907953;
bh=fWqnyy0BYNsf2YSrOJav3eqlatu2O4TE8R1AzDMSdQc=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=rNV10OZ+1pc0KsmAH3I72jkyvl6SO9zPS8qGIMPsCA4DRLquImgCrTHwnf+e+ZvXZ
RqreEqqBrQ4pOLhGziQHtHtscbiXUi07IonPsJ3QUGkfevXhp/afh38Bg9zssoB8hF
PX/7JHyT/0UwToI7+PKvgmFAmhhZOdTCQZbtl0wA=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 415C33854804
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=adnbV4/9GQNUHpF5IicmZgcjSBkbT6HfA4WDYLGRDYGKKopZ79xh1nJBCRVrJikDPUcgcbCd4OFAA2LxYIWFGYvZYpnhzx3EtiEN1GjUfk/+hatKOc4YuRUDhPYgCjEfnlgWaxSCGAUp6En9kfBwzWWUAa++9+DxGBBwKNDf3KsZCo8knbBRIWnim5CUNYgMj3IxrXAmWmaAB4tiPNythAskp3T0D7p8Z9W4a0g5wiRvoDInivsOs+/X0lcmPaE8f9QCqrh+sPnsOx5EBilNQcaThsXZTEBWOADa/w3FHiNvxmOHZoU50qwLzHyShtqUNeqfxSnt2+B5rLks+a6EKg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=canU/QcBk5R8J2Fr5DbBsdysZdUWR5kxIKkIoF28TXo=;
b=CQoKAgQnDWQ0la0vrvRTZNrSzfawHc7voO56SZ9XEzYIaVlMW11h8mdaHVop3KVYvGy2zc11gwRJIV3rX7Fl5ZjzVkr4pm6vBWQz9Dv1olW+Wz9h0cNjEejKl9vT/AGRHPf6TXO+h1yMDx7+wxZjqaSMnk+Kyh48ZwUeoRd1TmOpaa9UHeiVAYu5OmW95dhrDoZfzC4sfQIJ80dR38R0thIijM9PxB1MGrqd2cEyHabDR+9N9x+YWMPxjmhjbCbmeEd/27vCeKbwwbZfB6osLFzJtLFk9aPkrcb5YK+OXCAKg3ONTRmBi/0fYFD49oFPCbdpC4CLdSEBjtZ2bNbXWg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu;
dkim=pass header.d=cornell.edu; arc=none
Subject: Re: Sv: Problems with native Unix domain sockets on Win 10/2019
To: Michael McMahon <michael DOT x DOT mcmahon AT oracle DOT com>,
sten DOT kristian DOT ivarsson AT gmail DOT com, cygwin AT cygwin DOT com
References: <bb34a767-0cb5-1d48-7f9b-ad914762f9f7 AT oracle DOT com>
<97d2b3af-224a-6873-fb4a-55a0ae9cd379 AT cornell DOT edu>
<d9a6467d-e797-8917-3240-e79d55dcfb38 AT oracle DOT com>
<3e3cfe17-7fda-b063-4885-9114db9e748d AT cornell DOT edu>
<70b5577f-2cf1-0110-5d3b-cb2bd8ee6df2 AT cornell DOT edu>
<69ad720c-8ea6-d3bb-b0a5-5556c4550091 AT oracle DOT com>
<2d85550f-d753-4055-8b93-35e5287a9a93 AT oracle DOT com>
<fb99bda7-b5ba-52c0-f2b6-3de4a11eadb9 AT cornell DOT edu>
<bd27871c-6e3d-3381-6066-e70eee98e665 AT oracle DOT com>
<8ad29a66-fb4c-a587-eed3-eaa7e0389a77 AT cornell DOT edu>
<20210201151056 DOT GQ375565 AT calimero DOT vinschen DOT de>
<f46a8b81-5e5c-f84e-522c-fc322ffb6bdf AT oracle DOT com>
<7fb70a75-8557-6c95-27fa-697c92dcedce AT cornell DOT edu>
<000201d71a54$638c67c0$2aa53740$@gmail.com>
<c06b5537-b1f9-5ae7-fd85-8701c412239c AT oracle DOT com>
Message-ID: <0cc7931c-6c07-755d-2d0c-1b62189fddd9@cornell.edu>
Date: Tue, 16 Mar 2021 11:19:03 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.8.1
In-Reply-To: <c06b5537-b1f9-5ae7-fd85-8701c412239c@oracle.com>
X-Originating-IP: [2603:7081:7e41:6a00:4d1c:2902:57e5:d3f0]
X-ClientProxiedBy: CH0PR03CA0150.namprd03.prod.outlook.com
(2603:10b6:610:cf::35) To SN6PR04MB4399.namprd04.prod.outlook.com
(2603:10b6:805:30::12)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: dd9746e8-ac36-4d9d-0640-08d8e88ed6ff
X-MS-TrafficTypeDiagnostic: SN2PR04MB2240:
X-Microsoft-Antispam-PRVS: <SN2PR04MB224001A01B8225459F4A5234D86B9 AT SN2PR04MB2240 DOT namprd04 DOT prod DOT outlook DOT com>
X-MS-Oob-TLC-OOBClassifiers: OLM:9508;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: 1bCd8bj04yhBLPGGnDZh9u+hNYZdym83jw+Ojr9HtFuLbOCWXaf+7CkGDVeovcd4yTu8Ge2+Yg9FY9OJAU6VGu3RexOFEdD5SdquB0gRjZbN8P2Oi6mw0ombx0LnmNHF4ebj3e8TYrIz90DIpFVSot1lMKiVEjSijEIyTVE45zS+u7/LFP4v8kZh4L51hCcEiHLgCNsBfLoFozoUzz+1/T1ISdNDNpT+LR6DRaoboVoxHxVmPy1YXhdgXM8K4H4uPb5cegT7DSusHKZ/yzl7PX8eUio8UnmZQXs6yZKxQA3DVmKs6XK8yKMjnKWpBk1cZdFRhMth8VDpbagkI+bg/gSVo6KcifWNBfjVUWJqvvOHdxuD7V7uQJR5eL1cNTd0rmybn74a7cWLkcKiCLodCRCURlfML3WRGBJNZ7Ra2M2IKB3qltpykQ0hKABk6B2L+aghJTsMNbCe0xJ50k+9SEFF4mBcvMEOJxiYCb4f5pjmhegsJs63c9uCaV+udRhvJ/uZVo1XbDiqZuRQ+1853c9769Fp25kCdqKH5gfHdZ4wh6BLV/BUL9oY6OSUNoiJyNaqbMSdCQMJMqVHJNpm6thxXNrg05EfRC4K9H4kxMfDyxnEWMZxjyh0Nj7d6oNSur2zgbXGdHS7RORNwgJxZm/dc3dto5cgHi7PbYea0CbOQkmlekVtwVbnaWugqEUKP7C+xjJpENWm8Ar4LRoVC0ABIxyLJ/l+Dcl31EdY4d0=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
IPV:NLI; SFV:NSPM; H:SN6PR04MB4399.namprd04.prod.outlook.com; PTR:; CAT:NONE;
SFS:(4636009)(39860400002)(136003)(396003)(366004)(346002)(376002)(66946007)(52116002)(66556008)(66476007)(5660300002)(8676002)(478600001)(186003)(16526019)(2906002)(966005)(83380400001)(53546011)(31696002)(6486002)(75432002)(36756003)(8936002)(2616005)(786003)(86362001)(31686004)(316002)(43740500002)(45980500001);
DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData: =?Windows-1252?Q?4IBIsGeYbVCVbrW6ovXmfg3njhB8L/Hi+RPcTuanUErAV52rhNMA2T8j?=
=?Windows-1252?Q?kXe5dYQjwTfGxbd1iaFvOvZ7+nomthgvRj/4hntXNE6Qvi8NcoiKFLck?=
=?Windows-1252?Q?se8GLMtL9nQ8C1NHPFk8rcDXKWoqHwpvB8FMqhlTUrIKWmVN2ZmIM0Kg?=
=?Windows-1252?Q?NzLTX9r4UEhEB6nVKXHKU5kD8197xwduM1sdJv3JhHqhv5j0an99OXN0?=
=?Windows-1252?Q?laMWuY6JfD57jn6VOZpIAhamEr9lyUqAJMR2Z8pI5hThm28OFHLQQCkf?=
=?Windows-1252?Q?21aavWEo8uWrZ6ALIFsKs+R8jyGr9RCDLa/izQgfAoisJGeUM0Cce1Nt?=
=?Windows-1252?Q?YHj3xFCJeyOinypsvh8RIalZPDnYW5KU/svmuDxq5jKESHDmZONGndY/?=
=?Windows-1252?Q?LwwxMFrt/oeqZruVvjC6cc/aRhxavTczdnn21ul0TLggYqToUtIJrcWy?=
=?Windows-1252?Q?DbAOT0l1n6EX3bWCHl+G7XnpaHIM1qx5K0mVQOi3jTAzi9zv5rKoa7aZ?=
=?Windows-1252?Q?cu174n6Kh6eBDPNNYDZhoTTtBs5D00GBSRiwezpvAWjFbYDSQ9vncKY+?=
=?Windows-1252?Q?7pQ85x+h9jKeuiHfxJU8m8n+VeGsmLEZoupVQKVJoEjvoCvK3b2yUre6?=
=?Windows-1252?Q?WImUGMTQkOa7yGjzq3Vwm4uqakBpKn2l62rZ/KVMrYMH2PZPEbwuld0l?=
=?Windows-1252?Q?jT7Wu251ThGnqYOQzaVquiQqjNPAVREc07jwu83oC1NgPtABhXhHiI/9?=
=?Windows-1252?Q?OH3XheJPWaHp39gJHAxOlbR7M7uIBTKufqKOGQe5vjZIZfe/4xJkAMoV?=
=?Windows-1252?Q?RGfXIlFab3UTHqxF9gZ4lYVrJ3PtDPLmnFoxC+qsek+OfZhY/JoTqJPL?=
=?Windows-1252?Q?GJpGwHBuUsVpGJU4Zh802i5q5/e/sIm8cn3qWM7BXcKlIhcyXRC7QFRq?=
=?Windows-1252?Q?+QAZ5rQpbdHE0Y53IULf6Wxv0amYvXrYSPt2d0csfdk2HsIiOhzafcnz?=
=?Windows-1252?Q?r1k0DInQdEUolQBTj6pXvleedrcX2qj2rEVeTBT5SO25DM1t3yabyfmv?=
=?Windows-1252?Q?xbpjsHcTvqodO28qzUYYHuIDYPx9Fdg9rm5ZCrHTbxvnVWOKB6bhSJuE?=
=?Windows-1252?Q?kzdjDgoT3cPzRPEM/28voZyUXzmo/apd/kQxhxlvJDrBiPGC8OLcCgvj?=
=?Windows-1252?Q?H2XS/2uA8B4zXMNTIVoc8Uveh/6SYNIntKRVSqCAS6uw+NC2hTctmLab?=
=?Windows-1252?Q?OEXmMWj1sGS8y4aSxKLW53ZqOm5xIPM5QgJbQTggnfpwSc0Lh5BrtIFc?=
=?Windows-1252?Q?+T809UtlGTrBNBM7hBdF8CB0LW05NFGSRFn04LDkAHaaLTall++ovxJP?=
=?Windows-1252?Q?U5+BT+TeQuNKRZRhRw6hxZciMN1YxnhLbRjlBGMk3ulDQdudiO59EMfs?=
=?Windows-1252?Q?0zco5ONjQ94DkzxBqDomvSGZkqwfOUmzzso6wHBfKQ8uUTI2efacrVot?=
=?Windows-1252?Q?36ldWMr4?=
X-OriginatorOrg: cornell.edu
X-MS-Exchange-CrossTenant-Network-Message-Id: dd9746e8-ac36-4d9d-0640-08d8e88ed6ff
X-MS-Exchange-CrossTenant-AuthSource: SN6PR04MB4399.namprd04.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Mar 2021 15:19:07.4316 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: E3SISBANytIM3xpwt1Ku1sn9oQQBPrzJjye7OpvVllPaTCqsjLrSTemnWy+omq6y8QMXojjMr3Ec0kgXboNZWg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR04MB2240
X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00, DKIM_INVALID,
DKIM_SIGNED, KAM_DMARC_STATUS, MSGID_FROM_MTA_HEADER, NICE_REPLY_A,
RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Ken Brown via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Ken Brown <kbrown AT cornell DOT edu>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 12GFJG6N012670

On 3/16/2021 9:00 AM, Michael McMahon via Cygwin wrote:
> I think you can download pre-released builds from:
> 
> https://cygwin.com/snapshots/

Right, but see below for cygwin-3.2.0-0.1.

> As mentioned already, the fix here is not actually support of AF_UNIX sockets 
> natively. My understanding is that they are implemented over loopback TCP in 
> cygwin, but the fix allows native AF_UNIX sockets to be handled (eg deleted) as 
> regular files through regular cygwin commands.
> 
> Michael.
> 
> 
> On 16/03/2021 11:06, Kristian Ivarsson via Cygwin wrote:
>> Hi all
>>
>> Does anyone know the status of these fixes ?
>>
>> I saw an announcement for cygwin-3.2.0-0.1 that seemed to contain some
>> AF_UNIX-related fixes but I fail to find out where that distribution exists
>> (if it is supposed to be publicly accessible?), but I tried out the
>> 2021-03-01 snapshot and perhaps they are similar ?

You can install cygwin-3.2.0-0.1 in the usual way, through Cygwin's setup 
program.  Since it's a test release, you'll have to explicitly select that 
release; setup won't just offer it to you.

>> We bumped into some AF_UNIX-related issues when trying the 2021-03-01
>> -snapshot though. It might be some flaws in our code base but the same code
>> works in quite a few Linux-distros
>>
>> We're more than willing to help out with testing this and/or trying to
>> narrow down any possible cygwin issues, but first we'd be glad if someone
>> could give us some kind of status report of this (so no one is doing any
>> unnecessary work)
>>
>>
>> Best regards,
>> Kristian
>>
>> p.s.
>>     I tried to build the topic/af_unix -branch according to the FAQ, but
>> there was some issues

I'm still in the middle of some things on that branch, and I haven't had much 
time to work on it recently.  I hope to get back to it very soon.  In order to 
build it, you need to add -D__WITH_AF_UNIX to CXXFLAGS.  In order to test it, 
you need

#undef AF_UNIX
#define AF_UNIX 31

after including <sys/socket.h>

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

- Raw text -


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