Module Name: src Committed By: jmcneill Date: Thu Jan 5 13:26:51 UTC 2012
Added Files: src/sys/arch/usermode/modules/syscallemu: Makefile syscallemu.c syscallemu.h syscallemu_i386.c Log Message: Add 'syscallemu' module, required by usermode kernel. This module registers a syscall that takes a user_start and user_end address. When a process calls SYS_syscallemu, the start and end address are recorded and the syscall installs a filter on p->p_md.md_syscall. The filter then uses the specified start and end addresses to determine where the syscall should be routed (either host by calling the original md_syscall function, or process by posting SIGILL). To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/sys/arch/usermode/modules/syscallemu/Makefile \ src/sys/arch/usermode/modules/syscallemu/syscallemu.c \ src/sys/arch/usermode/modules/syscallemu/syscallemu.h \ src/sys/arch/usermode/modules/syscallemu/syscallemu_i386.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.