make check_no_exec() work reliable

Alexandre Julliard julliard at
Mon Dec 4 17:10:11 CST 2006

Peter Beutner <p.beutner at> 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) this would basically mean to always disable the
> protection.
> It probably doesn't hurt to leave it like this for now.

Yes, the next step is to implement a smarter strategy for turning
protection on or off. I don't know about checking the flag for all
dlls or only the main exe, I guess I'll have to ask you to try this on
Windows too...

Alexandre Julliard
julliard at

More information about the wine-devel mailing list