xserver/hw/xfree86/os-support/linux/int10
Egbert Eich a9e20306fb int10: Do an mprotect(..,PROT_EXEC) on shmat()ed memory ranges.
When the linux kernel sets the NX bit vm86 segfaults when it tries to execute
code in memory that is not marked EXEC. Such code gets called whenever
we return from a VBIOS call to signal the calling program that the call
is actually finished and that we are not trapping for other reasons (like
IO accesses).
Use mprotect(2) to set these memory ranges PROT_EXEC.
2008-11-21 18:57:07 +01:00
..
vm86 Death to RCS tags. 2007-06-29 14:06:52 -04:00
linux.c int10: Do an mprotect(..,PROT_EXEC) on shmat()ed memory ranges. 2008-11-21 18:57:07 +01:00