On Thu, Mar 03, 2005 at 03:00:26PM -0000, sounak chakraborty wrote: > there is one my_own module > which i will insert whenever i like through > insmod. > thus when the module is loaded it will create a proc file > > now i want to send the structure variable of task_struct > i.e p to the module from the kernel at point when the execution passes > through forking a new process i.e > at the function do_fork() in fork.c in linux/kernel folder > > how to do this You found the kernelnewbies mailing list, so you must have found the kernelnewbies website, which has a FAQ: http://www.kernelnewbies.org/faq/index.php3#intercept Erik -- Erik Mouw J.A.K.Mouw@xxxxxxxxxxxxxx mouw@xxxxxxxxxxxx
Attachment:
signature.asc
Description: Digital signature