That's unfortunate. 

Is there any plans to implement a workaround in the future? Seeing as Cygwin is 
only one of two programs I've noticed that are broken with it on, it would be 
nice to be able to have it on from a security perspective.

-----Original Message-----
From: Eliot Moss <m...@roc.cs.umass.edu> 
Sent: Tuesday, August 25, 2020 10:35 AM
To: Alexandria Cortez <ad...@linuxandria.com>
Cc: cygwin@cygwin.com
Subject: Re: Mandatory ASLR breaks Cygwin - Windows 10

It’s intentional; too long to explain in detail on phone, but fork requires 
each dll to load in the child at the same address as in the parent, and ASLR 
interferes with achieving that.

Sent from my iPhone

> On Aug 25, 2020, at 10:17 AM, Alexandria Cortez <ad...@linuxandria.com> wrote:
> 
> I was experimenting with security settings this morning on windows, and
> after changing Mandatory ASLR (Windows Security -> App and Browser Control
> -> Exploit Protection) to default on, no Cygwin programs that rely on the
> Cygwin dll would start, stating that a resource was temporarily unavailable
> and could not fork. Rebasell, bash, you name it crashed and would not start.
> After some investigation, turning off that setting allows Cygwin to work.
> 
> 
> 
> Now the next question: why does this not work? Is this intended behavior or
> a bug? Having that setting turned on seems like a good idea from a security
> standpoint, and who knows it  may eventually become default.
> 
> 
> 
> Regards,
> 
> Alexandria C.
> 
> <cygcheck.out>
> --
> 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


--
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

Reply via email to