On Thu, Jun 22, 2006 at 06:11:18PM -0400, Rick Spillane wrote:
> I am trying to intercept all system calls just within the kernel layer
> (with a 'normal' kernel I would do this by replacing sys_whatever in
> the sys_call_table). What would be a good way to go about this in UML?
> I would expect that since 'um' is its own architecture in the kernel
> tree, that it would have its own implementation of system_call in
> arch/um/kernel/. However when I grep that directory, I don't find
> system_call, or sys_call_table for that matter. I've been looking
> through syscall.c, and I'm trying to figure out how I could accomplish
> what I want in UML. How do system calls get handled in UML?
UML steals the underlying arch's system call table - see
arch/um/sys-i386/sys_call_table.S for example.
So, on i386 you'd fiddle the UML syscall table by changing
arch/i386/kernel/sys_call_table.S since that's included by the UML
sys_call_table.S.
Jeff
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user