lkml.org 
[lkml]   [2008]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: vm86 segfaults with NX bit
Takashi Iwai wrote:
>>>>
>>> did the code that mapped this memory setup use PROT_EXEC ?
>> A good question...
>> Luc, Egbert, how does VESA driver handle it?
>
> Just looking through the vesa directory of xorg-server code, PROT_EXEC
> is passed for all mappings, at least.
>
> Please correct me if I'm looking at a wrong place...
>

Please do an strace of the X server startup up to the point of the crash.

I am betting that PROT_EXEC is missing from an mmap(), or that it needs
an additional mprotect().

-hpa



\
 
 \ /
  Last update: 2008-11-20 22:31    [W:0.058 / U:0.692 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site