On Sunday 06 February 2005 12:16 am, M.Baris Demiray wrote: > Hi, > i'm playing with procfs API and added a few lines into kernel/fork.c > to show the latest process' pid in the /proc/newbie/last_pid entry > as an example (modifications are at the end). > Hi Baris, A better solution for what you need to do would be to export a symbol from kernel/fork.c and then write a module to create the /proc files and print that symbol. tavi -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/