]> git.baikalelectronics.ru Git - kernel.git/commit
lguest: Guest int3 fix
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 29 Jul 2008 14:58:31 +0000 (09:58 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 28 Jul 2008 23:58:31 +0000 (09:58 +1000)
commit95b3fb1850c896a0a812ce208ed38c8e393f8477
tree91579abdc22e7bf3784f9fcb59a0f018e7f5366d
parent29d46dc772a340ec3407d851c562120c3c2f1fa1
lguest: Guest int3 fix

Ron Minnich noticed that guest userspace gets a GPF when it tries to int3:
we need to copy the privilege level from the guest-supplied IDT to the real
IDT.  int3 is the only common case where guest userspace expects to invoke
an interrupt, so that's the symptom of failing to do this.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/lguest/interrupts_and_traps.c