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>
Showing
- arch/x86/lguest/boot.c 1 addition, 0 deletionsarch/x86/lguest/boot.c
- drivers/lguest/core.c 20 additions, 10 deletionsdrivers/lguest/core.c
- drivers/lguest/interrupts_and_traps.c 48 additions, 1 deletiondrivers/lguest/interrupts_and_traps.c
- drivers/lguest/lg.h 3 additions, 0 deletionsdrivers/lguest/lg.h
- drivers/lguest/x86/core.c 4 additions, 0 deletionsdrivers/lguest/x86/core.c
- include/linux/lguest.h 3 additions, 0 deletionsinclude/linux/lguest.h
Loading
Please register or sign in to comment