Re: make check_no_exec() work reliable

2006-12-04 Thread Alexandre Julliard
Peter Beutner <[EMAIL PROTECTED]> writes: > I'm not so sure about this, I think I read somewhere that each loaded DLL is > checked for this > not just the main exe and the protection is disabled if at least on module is > not nx compatible. > But as no wine dll is marked as NX_COMPAT(i assume) t

Re: make check_no_exec() work reliable

2006-12-04 Thread Peter Beutner
Alexandre Julliard wrote: > Peter Beutner <[EMAIL PROTECTED]> writes: > >> But as linux can't just switch on/off the protection for specific processes, >> wine has to >> emulate it by marking all readable memory as executable as well. And as all >> this happens >> behind the application's back,

Re: make check_no_exec() work reliable

2006-12-04 Thread Alexandre Julliard
Peter Beutner <[EMAIL PROTECTED]> writes: > But as linux can't just switch on/off the protection for specific processes, > wine has to > emulate it by marking all readable memory as executable as well. And as all > this happens > behind the application's back, I would still go with my first prop

Re: make check_no_exec() work reliable

2006-12-02 Thread Peter Beutner
Alexandre Julliard wrote: > Peter Beutner <[EMAIL PROTECTED]> writes: > >> Why should this exception be visible to the application? >> Plus if you make it visible, you can just forget this whole workaround idea, >> because it won't work reliable anyways. > > Well, yes, the workaround is really a

Re: make check_no_exec() work reliable

2006-11-30 Thread Alexandre Julliard
Peter Beutner <[EMAIL PROTECTED]> writes: > Why should this exception be visible to the application? > Plus if you make it visible, you can just forget this whole workaround idea, > because it won't work reliable anyways. Well, yes, the workaround is really a hack that should be replaced by a pro

Re: make check_no_exec() work reliable

2006-11-30 Thread Peter Beutner
Alexandre Julliard wrote: > Peter Beutner <[EMAIL PROTECTED]> writes: > >> Peter Beutner wrote: >>> Before starting to make this whole noexecute override behaviour >>> configurable, >>> it first must work reliable. In its current form there is no guarantee that >>> the check_no_exec() function is

Re: make check_no_exec() work reliable

2006-11-30 Thread Alexandre Julliard
Peter Beutner <[EMAIL PROTECTED]> writes: > Peter Beutner wrote: >> Before starting to make this whole noexecute override behaviour configurable, >> it first must work reliable. In its current form there is no guarantee that >> the check_no_exec() function is actually called, because any other ins

Re: make check_no_exec() work reliable

2006-11-30 Thread Peter Beutner
Peter Beutner wrote: > Before starting to make this whole noexecute override behaviour configurable, > it first must work reliable. In its current form there is no guarantee that > the check_no_exec() function is actually called, because any other installed > exception handler might decide to handl