Re: Intercepting a system call

2013-01-25 Thread Paul Davies C
You can access the code also from the below link. https://gist.github.com/4634681 On Fri, Jan 25, 2013 at 6:58 PM, Paul Davies C pauldavi...@gmail.comwrote: Hi, [1] is the module I wrote for intercepting the system call fork(). I have taken the conventional way of hooking the system call

Re: Intercepting a system call

2013-01-25 Thread Paul Davies C
think? On Fri, Jan 25, 2013 at 6:58 PM, Paul Davies C pauldavi...@gmail.comwrote: Hi, [1] is the module I wrote for intercepting the system call fork(). I have taken the conventional way of hooking the system call. Firstly I found out the address of the sys_call_table from the System.map

Re: Intercepting a system call

2013-01-25 Thread Valdis . Kletnieks
On Fri, 25 Jan 2013 18:58:29 +0530, Paul Davies C said: [1] is the module I wrote for intercepting the system call fork(). Totally skipping over the details of actually doing it - it's usually considered a Bad Idea to hook a system call, and 98% of the time there's a much better way