[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
task_struct and it's fields
Hi
I am trying to write a small kernel module, which will walk thru the task
list, i.e starting from
init_task, and try to figure out the associated file for that task.
While doing that, whati noticed is that the 'struct files_struct *files'
member, would not
allow me access it's members, i.e whenever i access them i get segmentation
fault.
I am not sure what wrong i am doing.
Pls help!
Venkat
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.surriel.com/kernelnewbies.shtml