Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jul 2010 11:12:14 +0200
From:      Tijl Coosemans <tijl@coosemans.org>
To:        freebsd-hackers@freebsd.org
Cc:        "Sam Fourman Jr." <sfourman@gmail.com>
Subject:   Re: kernel patch needed for wine?
Message-ID:  <201007011112.14853.tijl@coosemans.org>
In-Reply-To: <AANLkTilXdbT3xxzhl2vMx-j5SCSQLnMI7nfoXUFi90d2@mail.gmail.com>
References:  <AANLkTik5Owwpk5O6eUbSKgHxpjvcEXwilGECgtX0hx5a@mail.gmail.com> <cone.1277944011.653993.1326.1001@aspire1410> <AANLkTilXdbT3xxzhl2vMx-j5SCSQLnMI7nfoXUFi90d2@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007011112.14853.tijl>