Re: vm86 segfaults with NX bit

From: Takashi Iwai
Date: Thu Nov 20 2008 - 11:00:23 EST


At Thu, 20 Nov 2008 15:58:08 +0000,
Alan Cox wrote:
>
> > Also, when NX bit is reset for the first 1MB (or smaller) in
> > do_sys_vm86(), it also works as expected. But I have little clue
> > where to restore the bit again.
> >
> > Any good suggestions / solutions?
>
> Does it behave if you clear NX just for 640K-1MB, and page 0 ?

Yes.


Takashi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/