Re: [cygwin] Re: Mandatory ASLR breaks Cygwin - Windows 10

2020-08-25 Thread Brian Inglis
On 2020-08-25 09:56, Eliot Moss wrote: > Meanwhile, WSL version 2 runs under a hypervisor and thus implements its own > fork directly, giving speeds more like Linux (a _lot_ faster). Hence it is > clear that the Windows OS team do not intend to support fork - they'd just say > "use a hypervisor".

Re: [cygwin] Re: Mandatory ASLR breaks Cygwin - Windows 10

2020-08-25 Thread Eliot Moss
Following up ... One possible practical direction than can ameliorate this in some cases, and more importantly, perhaps speed up creation of child processes, would be to support posix_spawn more directly under Cygwin. Right now, it does fork and then adjusts things, incurring all the problems

RE: [cygwin] Re: Mandatory ASLR breaks Cygwin - Windows 10

2020-08-25 Thread Jason Pyeron
> -Original Message- > From: Brian Inglis > Sent: Tuesday, August 25, 2020 11:13 AM > > On 2020-08-25 08:36, Alexandria Cortez wrote: > > On Tuesday, August 25, 2020 10:35 AM, Eliot Moss wrote:>> On Aug 25, 2020, > > at 10:17 AM, Alexandria > Cortez wrote: > >>> I was experimenting with

Re: Mandatory ASLR breaks Cygwin - Windows 10

2020-08-25 Thread Brian Inglis
On 2020-08-25 08:36, Alexandria Cortez wrote: > On Tuesday, August 25, 2020 10:35 AM, Eliot Moss wrote:>> On Aug 25, 2020, at > 10:17 AM, Alexandria Cortez wrote: >>> I was experimenting with security settings this morning on windows, and >>> after changing Mandatory ASLR (Windows Security -> Ap

RE: Mandatory ASLR breaks Cygwin - Windows 10

2020-08-25 Thread Alexandria Cortez
oss Sent: Tuesday, August 25, 2020 10:35 AM To: Alexandria Cortez 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

Re: Mandatory ASLR breaks Cygwin - Windows 10

2020-08-25 Thread Eliot Moss
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 wrote: > > I was experimenting with s

Mandatory ASLR breaks Cygwin - Windows 10

2020-08-25 Thread Alexandria Cortez
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 an