This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Safeness of arc4random while fork


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]