[PATCH] Support a protection scheme which reset the GS selector

Alessandro Pignotti a.pignotti at sssup.it
Tue Feb 5 08:36:26 CST 2013


Hi everyone,

I've found two different games:

-) Of orcs and men
-) The testament of sherlock holmes

which are using a protection scheme which reset the GS segment selector,
possibly to confuse virtual machines. Since on linux the GS selector is
used internally by glibc the game would crash as soon as a native glibc
method is called by wine. The proposed patch tries to workaround this
problem by restoring the GS to a known working value in wine's SEGFAULS
handler and try the instruction again.

Regards,
Alessandro Pignotti
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Support-a-protection-scheme-which-reset-the-GS-selec.patch
Type: text/x-patch
Size: 1288 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130205/46e4c104/attachment.bin>


More information about the wine-patches mailing list