thanks but it doesn't actually helped me.
I will ask you more simple request :
I want to Update the kernel , that if one process wants to open a file , then we print to the screen " process %pid tries to open the file %file"
thanks in advance.
Well when you hijack the system call make sure it prints a message to the screen when a process opens or closes a file...I'm not sure what your looking for...I gave you a coded example and from that you should be able to get all the info you need...
Last edited by gerard4143; Nov 1st, 2009 at 12:32 pm.
Reputation Points: 499
Solved Threads: 367
Postaholic
Offline 2,198 posts
since Jan 2008