Re: [PATCH] fix broken vm86 interrupt/signal handling

From: Andi Kleen
Date: Mon May 22 2006 - 07:51:56 EST


Arjan van de Ven <arjan@xxxxxxxxxxxxx> writes:

D> On Fri, 2006-05-19 at 15:09 -0700, Aleksey Gorelov wrote:
> > Hi,
> >
> > This patch
> > www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h
> > =c3ff8ec31c1249d268cd11390649768a12bec1b9 has broken vm86
> > interrupt/signal handling in case when vm86 is called from kernel space.
>
> can you point out where vm86 is called from kernel space?

Programs inside vm86 can run with segments that look like ring 0.
That is why i386 always checks (ring > 0 || vmmask in eflags) when it checks
for user mode.

I guess Aleksey meant that.

-Andi
-
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/