[Bug 24125] APB Reloaded 1.x (MMORPG) needs better GetSystemDEPPolicy() and GetProcessDEPPolicy() implementation

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Sep 3 16:05:10 CDT 2016


https://bugs.winehq.org/show_bug.cgi?id=24125

--- Comment #16 from Olivier F. R. Dierick <o.dierick at piezo-forte.be> ---
Created attachment 55561
  --> https://bugs.winehq.org/attachment.cgi?id=55561
proposed patchset 3/3

This is the patchset I've come up with.

It makes Wine read the system DEP setting from the registry, and set DEP
policies to appropriate values when the application queries them.

Global DEP system policy is set in [HKCU\Software\Wine\Boot.ini]. The setting
is read from a string value named NoExecute. If it contains a valid DEP flag,
this value is used, otherwise it defaults to OptIn.

DEP system policies may be set individually for those applications defined on
the application tab in winecfg. It will search for them in
[HKCU\Software\Wine\AppDefaults\<whatever.exe>\Boot.ini]. If found, that value
overrides the global settings.

I designed this so that it could be extended for other boot.ini flags.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list