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

Alessandro Pignotti a.pignotti at sssup.it
Thu Feb 7 08:00:58 CST 2013

Modified as suggested

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.

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: 1788 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130207/d61d7623/attachment-0001.bin>

More information about the wine-patches mailing list