[PATCH] ntdll: Support a protection scheme which reset the GS selector - v3

Ken Thomases ken at codeweavers.com
Sun Feb 17 12:39:07 CST 2013


On Feb 17, 2013, at 4:18 AM, Alessandro Pignotti wrote:

> Third attempt
> 
> ----------------
> 
> 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
> 
> <0001-ntdll-Support-a-protection-scheme-which-reset-the-GS-v3.patch>

Didn't Alexandre already fix this with <http://source.winehq.org/git/wine.git/?a=commit;h=64ddb263d25dfceeeae8457a0131f1a2af292383>?

-Ken




More information about the wine-devel mailing list