]> git.baikalelectronics.ru Git - kernel.git/commit
lguest: send trap 13 through to userspace.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 11 Feb 2015 04:45:10 +0000 (15:15 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 11 Feb 2015 06:17:31 +0000 (16:47 +1030)
commit5eb4248b7b3b0a1bb2e51279f7e90b4c1b3c9584
tree019581b2a4821eba84ebdff179034c5ac57ca1a3
parente93d75b14ee65c80b6a9d8ebf677563494b2e561
lguest: send trap 13 through to userspace.

We copy 7 bytes at eip for userspace's instruction decode; we have to
carefully handle the case where eip is at the end of a page.  We can't
leave this to userspace since kernel has all the page table decode
logic.

The decode logic moves to userspace, basically unchanged.

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