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

Re: ASLR breaks cygwin

2013-06-07 Thread Eliot Moss
On 6/7/2013 3:56 AM, Corinna Vinschen wrote: Hell would sooner freeze over. So I should put away my ice-skates and pitchforks? Wait, was that a pun? ;-) Sorry, I don't get the ice-skates pun. Ice-skates for a frozen place place, pitchforks for hell Regards - Eliot Moss -- Problem

Re: ASLR breaks cygwin

2013-06-07 Thread Corinna Vinschen
On Jun 6 15:43, Larry Hall (Cygwin) wrote: > On 6/6/2013 1:27 PM, Corinna Vinschen wrote: > >On Jun 6 11:06, Warren Young wrote: > >>On 6/6/2013 10:52, Dan Kegel wrote: > >>> > >>>I wonder if we could get them to recognize the parent-child > >>>relationship somehow, and keep the same address spac

Re: ASLR breaks cygwin

2013-06-06 Thread Larry Hall (Cygwin)
On 6/6/2013 1:27 PM, Corinna Vinschen wrote: On Jun 6 11:06, Warren Young wrote: On 6/6/2013 10:52, Dan Kegel wrote: I wonder if we could get them to recognize the parent-child relationship somehow, and keep the same address space in the child. Just kidding. Hell would sooner freeze over.

Re: ASLR breaks cygwin

2013-06-06 Thread Corinna Vinschen
On Jun 6 11:06, Warren Young wrote: > On 6/6/2013 10:52, Dan Kegel wrote: > > > >I wonder if we could get them to recognize the parent-child > >relationship somehow, and keep the same address space > >in the child. > > > >Just kidding. Hell would sooner freeze over. > > I don't know about that.

Re: ASLR breaks cygwin

2013-06-06 Thread Warren Young
On 6/6/2013 10:52, Dan Kegel wrote: I wonder if we could get them to recognize the parent-child relationship somehow, and keep the same address space in the child. Just kidding. Hell would sooner freeze over. I don't know about that. For a long time, they had a bigger conflict of interest

Re: ASLR breaks cygwin

2013-06-06 Thread Dan Kegel
On Thu, Jun 6, 2013 at 9:40 AM, Andrey Repin wrote: >> Microsoft has a utility called EMET which allows ASLR to be forced on >> for each and every process(AlwaysOn) . Unfortunately, this breaks >> cygwin. > > -unfortunately > +unsurprisingly > > This is to be expected, due to the very definition o

Re: ASLR breaks cygwin

2013-06-06 Thread Andrey Repin
Greetings, Rosen Penev! > Microsoft has a utility called EMET which allows ASLR to be forced on > for each and every process(AlwaysOn) . Unfortunately, this breaks > cygwin. -unfortunately +unsurprisingly This is to be expected, due to the very definition of Cygwin. > I just made a fresh instal

Re: ASLR breaks cygwin

2013-06-06 Thread marco atzeri
Il 6/6/2013 5:59 PM, Rosen Penev ha scritto: Microsoft has a utility called EMET which allows ASLR to be forced on for each and every process(AlwaysOn) . Unfortunately, this breaks cygwin. No surprise as it make fork impossible. On cygwin all the DLL's have the ASLR flag off http://cygwin.com/

ASLR breaks cygwin

2013-06-06 Thread Rosen Penev
Microsoft has a utility called EMET which allows ASLR to be forced on for each and every process(AlwaysOn) . Unfortunately, this breaks cygwin. I just made a fresh installation of cygwin64(regular version has the same problem) and got this at the end: Package: base-cygwin 000-cygwin-post-insta