From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2119.outbound.protection.outlook.com [40.107.220.119]) by sourceware.org (Postfix) with ESMTPS id C82BD3857C43 for ; Mon, 26 Oct 2020 22:04:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C82BD3857C43 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=La5LEd5dJQ3M+eZkPoqRS4M5j/OJawB4VufspkxyLo/MyNs1yAHennLEb9dgQY9aXWWTg+fzxNS7S3rxjDLznYckAubG+EstkCASF+VPJi11NbEgGxvG6/HlrhQe4nbVYeF2HPhb7HwPl9qjY6gGjmzu+Scs8LISO0LObBzqsVqqsrnJ8lqHDkUru0o4w5PZoNtMaZPEKdGnQpYcNN5KUeOWIv5uXOooNvPIvE0JbLjkICzl0sys/5H1jp9LU6f/ADO+o5hg9MMLSOIbtm+cxseTzzu3gEd5jBljqssgNhTMc3XTqDfe56OCfw96W1ULO7zGZ4/kcBNT1saw6P0EiQ== 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=UX2Oc9R1GHZv7fXjlMoEzFOxR4fCTRJYvzIyhQ5DzJo=; b=A6Kr4SmtvxFBdaDQ1Ri5rctERF4n/DYoHgutqxGRumOAkH78y04pAJ/Q5KlV/H8pgKe27kEqaP0l8ibmBU6Rz5cS8XcOIZyVe0x4d7EmcatQ1OBThEa0Tc/g43MjazjsrSZahNbqlt1CseOUuzHsUBlEW9bovJQnuGpvEQZ5ypzPxBRkgMfGxZmfJzHxELTIa3NATEHRHV9vkTZe1Ze3BqWm+txH9cZpxT6bh29ZjeCAN2A9K6WXBlDV93jry81PhKxhGAyH3k56LUHApsWR60MCf8bljQoD+/bvqr6lzKTLrzarTMAEz/DNxCcv6gtfXSaESKCsyBk2J5eCgspoKg== 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 Received: from MN2PR04MB6176.namprd04.prod.outlook.com (2603:10b6:208:e3::13) by MN2PR04MB6207.namprd04.prod.outlook.com (2603:10b6:208:de::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.28; Mon, 26 Oct 2020 22:04:33 +0000 Received: from MN2PR04MB6176.namprd04.prod.outlook.com ([fe80::c144:d206:c369:af44]) by MN2PR04MB6176.namprd04.prod.outlook.com ([fe80::c144:d206:c369:af44%7]) with mapi id 15.20.3477.028; Mon, 26 Oct 2020 22:04:33 +0000 To: cygwin-devel From: Ken Brown Subject: AF_UNIX status report Message-ID: <1d0ea5dc-7e9b-d8fe-5f6e-da7a799a3b13@cornell.edu> Date: Mon, 26 Oct 2020 18:04:31 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [68.175.129.7] X-ClientProxiedBy: MN2PR06CA0020.namprd06.prod.outlook.com (2603:10b6:208:23d::25) To MN2PR04MB6176.namprd04.prod.outlook.com (2603:10b6:208:e3::13) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.0.17] (68.175.129.7) by MN2PR06CA0020.namprd06.prod.outlook.com (2603:10b6:208:23d::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.22 via Frontend Transport; Mon, 26 Oct 2020 22:04:32 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f126b634-f533-4afc-4ecb-08d879fb1ea4 X-MS-TrafficTypeDiagnostic: MN2PR04MB6207: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KsW3E7kZqekRiG5jsRFJRDjn/h5RvOtjqKDni9A4LIrTdOwKestnin+5Ghy6H3RL1SJE26kr7/GU1o9GJmGAEfX5PY6kLHnjKJv4vWqE03j/4qoYAazy/0FxheCgRyjjbV1hpE72S17sW6CLlx3A6TBi0+GGGbo9WW7niL5+mWUWoNs0HeYdjafrG7mXn5jWn4KKKfNdREGnUFPiqLnBePQJlPWJawh7c2YkCDYOTv2SFZ/gy4bFD4Ij3sI8A//sulJsTvWOc0qoaUqoEP3pCW6JyGExUFNUwJZprEyMIWJvaYPluOeXI8uCjHPB++X8aR/uu8fD0ZWVRxBvGDPxG63i/qNrIcWAgvIj8hDOmCzp5mioGG/5/tKKkJfX/+ni X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR04MB6176.namprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(396003)(366004)(376002)(346002)(39860400002)(5660300002)(26005)(2616005)(66556008)(6916009)(52116002)(2906002)(66476007)(16576012)(6486002)(478600001)(956004)(8676002)(66946007)(8936002)(31696002)(31686004)(316002)(786003)(186003)(16526019)(86362001)(75432002)(7116003)(83380400001)(36756003)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: GVY+y6lSCQTRHEcG4takUDuX2q/x+gyg3FXdWAe53+Uw1GY3M2zHJMUIEElFgIW4lgEGCpX2nqPWbQ2C/lBIcoKFFRSMbX31wSLpkL4IMpafOGvfHssgl+P7PwIhS4GFizIE3OghDD5RMFuaS+Xn/zcD1OY5yJ7KwRxE5nKZkgtRwBUhXrgLMSp3311arhRhQOCs7ZjafnSNHyPBo9LaXi43dhyv+LSYGJXe2YyHIpAxFzK+A19GCgu/1YKQobVHfZed0gOTmz0cJmkllSyADiMG8rItfXa8eBRwUxQiI9862Yvf+56gbJbhSna5NwHwAMVSZtprmYqDauvarU4w2uKOWe075ZPYCTQavHH1CNeF1gzLTXlLWTrRF0K6TKrgYJek2ljb6HGo4LB1e8t1ym8tj24/ZxoxErtL6slC/+t2aVRuxtYOeer/96y0aJ29n2IEsgfNNChVbnnycpnXBa3NTF4yIR79j6LwRi1X7UsPcfkaopHTpz18bI6liigd+mYK1W29rruOVrzui3XDLibEeE2/iWD1J9dNk1+ILSlnbwPTZN8yIAHZoVcdSbstSV0zFUCcnkoSI9uYbpVWopu8HAkdiLMp99ZT8iYb3Pmy+L5Wl1vK3R7OYA9b3Cscaig4aGcfAxbovJxkTQoeqw== X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: f126b634-f533-4afc-4ecb-08d879fb1ea4 X-MS-Exchange-CrossTenant-AuthSource: MN2PR04MB6176.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Oct 2020 22:04:33.2021 (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: QWwXI3LZL5A2VZz2dvSFzsBJFXIZVc1HGdmtDEvBeKOq4BuRT9vjMuXNkPUqYmCpPyE9gOsMnUWD0M3kdcO4rQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR04MB6207 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham 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-developers@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin core component developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Oct 2020 22:04:37 -0000 I've made at least rudimentary implementations of all the fhandler_socket_unix functions (including those in select.cc) for which there were previously only placeholders. I've pushed everything to topic/af_unix, including a merge with master as of a couple days ago. I've cobbled together a few test programs and put them in winsup/cygwin/socket_tests on the topic/af_unix branch. I haven't taken the time to automate the tests, so they all have to be run interactively. There is a Makefile to build the test programs and a README.txt that shows how to run them. One thing I haven't yet done is to think about (or systematically test) datagram sockets. I'm sure there's quite a bit of code that won't work for them. Aside from datagram sockets, there are still a few things that I'm working on, but I'm close to the point where I could use some input: 1. I've littered the code in fhandler_socket_unix.cc and select.cc with FIXME comments on which I'd like advice. 2. I haven't given any thought at all as to how to implement SCM_RIGHTS ancillary data. I could definitely use suggestions on that before I start thrashing around. Ken