kernel patch needed for wine?

Tijl Coosemans tijl at coosemans.org
Thu Jul 1 09:12:23 UTC 2010


On Thursday 01 July 2010 03:07:09 Sam Fourman Jr. wrote:
>> i386 32bit-mode page table has no NX bit - the PAE page table has...
> 
> You are correct, I went in my BIOS, and disabled execute bit.
> 
> Then when I run the test C code, the get "trapped" just as expected
> on both 8.1 amd64 and CURRENT amd64 however World of warcraft still
> segfaults even though execute bit is disabled in BIOS.
> 
> I guess I am just confused on how linux fixed this with this patch
> 
> http://bugs.winehq.org/attachment.cgi?id=29155

Wine translates signals and their siginfo into windows exceptions.
In the test case you posted earlier you should try install the
sighandler with sigaction(2) and the SA_SIGINFO flag. Then print
the siginfo struct when you receive the signal and compare that to
Linux or FreeBSD/i386.


More information about the freebsd-hackers mailing list