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:references:to:from:reply-to:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=rQyThHlwykMp1I5U +TXyZOamXB0SsKB2WPpQbvmGrp3Z1jbX7jocrUSI7goNQi7hum0OO3DbakoTy4kF lOMmR9rP7kGhda3rExa5c9TQe6/tPyF0vG9arvpVUSVj3WAO4HhCZQFXYykfx8YK p2TXSiS10HQJWW/bIHd+ZBezV1U= 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:references:to:from:reply-to:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=8uqg9Hm6vyseTUTJMF2vDH 4t+Vc=; b=ssWajRubYvR6JnLDa6F9FrdZzp/t/N6VJ1PJFKdr3zBWVOX3hWQbhD BWttXo6sHAQcxm9hhsrYWrb8dmdgi1b54pZilK9X213Ie7TVldrG4sWdSbCKx/Jg br1lRanWgQhHUZPlVpaPAicTRcWaQ/bkoUJHGi4t5jHAxHW1Bvfic= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=volunteers, Kinichiro, interfere, Hx-languages-length:2526 X-HELO: smtp-out-so.shaw.ca X-Authority-Analysis: v=2.2 cv=UpATD64B c=1 sm=1 tr=0 a=WqCeCkldcEjBO3QZneQsCg==:117 a=WqCeCkldcEjBO3QZneQsCg==:17 a=IkcTkHD0fZMA:10 a=3tcz3bTJAAAA:8 a=NEAV23lmAAAA:8 a=CCpqsmhAAAAA:8 a=w_pzkKWiAAAA:8 a=juw_BYEgw4WrOTA8o08A:9 a=QEXdDO2ut3YA:10 a=5UtSbNIegJAA:10 a=s2dLduwiMigA:10 a=9c8rtzwoRDUA:10 a=4EbjBm0RLgFgoQzmu6QD:22 a=ul9cdbp4aOFLsgKbc677:22 a=sRI3_1zDfAgwuvI8zelB:22 Subject: Re: Safeness of arc4random while fork References: To: cygwin AT cygwin DOT com From: Brian Inglis Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca Message-ID: <7c30f4dc-1216-f35c-9c9a-41177a8ce260@SystematicSw.ab.ca> Date: Sun, 30 Apr 2017 11:30:23 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfARpu2W4L3ShYfl9qCl/f6nQNDQKymcWxW/bFzSOK4E2vcO1Dd8SlM54xW1dLsyi9qjj56hcceGEKyF+ihQLHKkj+cMXRkS6uL7nS1Xfe51aHTLUKg6m 1TqdZ7pD7/w9kCh1IAlsrN6rbLgoKekOFEdxUSMo2TejG31ilj0mLtXVQ2+4LmW2+imlf0uXlZ/guw== X-IsSubscribed: yes On 2017-04-30 07:12, Kinichiro Inoguchi wrote: > I saw this issue while building LibreSSL on Cygwin64. > I had downloaded LibreSSL tar ball from here. > https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.5.3.tar.gz > And I tried to build it, build was ok, but 1 regression test failed. > This test is testing the safeness of arc4random() while forking. > With other platforms, linux, *bsd, OSX, MinGW64, this test never > fail. > I checked FAQ and ML archives, but couldn't find anything. > Has anyone experienced this already ? > Could someone check the implementation of arc4random functions, > please ? ... > FAIL: arc4randomforktest.sh > ... > I posted this issue to LibreSSL project, too. > https://github.com/libressl-portable/portable/issues/289 The Cygwin project does not provide or support a libressl package; there may be good reasons why no package was provided so far: some upstream projects will not accept a Cygwin patch, so Cygwin volunteers may decide the package is not long term maintainable, or adapting the package may need a lot of work, as advised in: https://sourceware.org/ml/cygwin/2016-03/msg00117.html So a fork regression test designed for Unix failed on Windows: maybe describe what the test does, what fails on Cygwin, and why that is a problem? What does "safeness" mean, what does your test log show, and was it a fork failure? Does your package build Cygwin dlls, and did you follow recent advice posted for developers about using rebase on package dlls: https://cygwin.com/ml/cygwin/2017-03/msg00135.html Are you running any https://cygwin.com/acronyms/#BLODA apps shown: https://cygwin.com/faq/faq.html#faq.using.bloda that could interfere with Cygwin fork, mainly intrusive AV/AMW? Maybe post a https://cygwin.com/acronyms/#STC (Simple Test Case) using extracts from the test code, the compilation and run output, and describe the results, so someone can look at it and say if something needs changed in upstream code, the test can be adjusted for Cygwin's emulation of Unix fork using Windows calls, if something in Cygwin can be improved or fixed, or if that's just the way Cygwin works. Please read the FAQ and documentation about fork, and follow the problem reporting guidelines below, and a volunteer Cygwin maintainer may get time to take a look at the issue, or you could submit a patch yourself https://cygwin.com/acronyms/#PTC either upstream or to Cygwin. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- 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