]> 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)
commit25fc3b90627beef3145bd2256b5f76cd423f671e
tree019581b2a4821eba84ebdff179034c5ac57ca1a3
parent0751ace8dba36243e3d2b021edb4ce183ca313f0
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