Ye ilho spiffera, alle Thursday 1 March 2007 22:57 circa: > I am intercepting system calls to modify its behavior and then return > back to the user. It depends from what you want to do, but i think that the correct approach in this case is ptracing the process. in this project http://savannah.nongnu.org/projects/view-os we use ptrace for modifying system calls behavior. we get, modify, and restore register using the ptrace() syscall ( There's also a patch for making all this more efficient ) Bye! -- -gaspa- ----------------------------------------------- --------- Powered by Debian GNU/Linux --------- ------ HomePage: iogaspa.altervista.org ------- -Il lunedi'dell'arrampicatore: www.lunedi.org - -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ