Allow guest to specify syscall vector to use.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Oct 2007 01:03:35 +0000 (11:03 +1000)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 23 Oct 2007 05:49:53 +0000 (15:49 +1000)
commitc18acd73ffc209def08003a1927473096f66c5ad
treedd8e292ac8ca90b061b7e37ad6947231ced566e3
parentee3db0f2b6053b65f3b70253f5f810d9a3d67b28
Allow guest to specify syscall vector to use.

(Based on Ron Minnich's LGUEST_PLAN9_SYSCALL patch).

This patch allows Guests to specify what system call vector they want,
and we try to reserve it.  We only allow one non-Linux system call
vector, to try to avoid DoS on the Host.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
arch/x86/lguest/boot.c
drivers/lguest/core.c
drivers/lguest/interrupts_and_traps.c
drivers/lguest/lg.h
drivers/lguest/x86/core.c
include/linux/lguest.h