|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Stop the execution of syscall in trap.c
but after the interception I also want to stop some syscall from be executed by the hypervisor. I intercept the call in the do_guest_trap in trap.c, and i control the (cpu_user_regs regs) regs->eax for the number, and if
the number is some unpermitted syscall as for example (128 for insmod or 129 for rmmod), i want to stop the execution of the syscall.
How can I stop the execution here?(it's possible to stop the execution here?) or return an error code without a system crush?
I've tried something but somethings just print the error code, and don't stop the syscall execution, and other things brings to panic.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] Stop the execution of syscall in trap.c,
Carlo Maiero <=
|
|
|
|
|