[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A task_struct question



Hello!

Is there a way to get the absolute path of the binary that has been loaded 
into a task_struct structure? This structure has a lot of members but none 
seems to provide such information. task_struct->comm holds only the name of 
the binary and not the absolute path. In task_struct there is also the PID 
available. Maybe it can be used for determining the path.

Any ideas?

Regards
Andreas Gaupmann

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/