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

Re: A task_struct question



On Tue, 2006-02-07 at 14:19 +0100, Andreas Gaupmann wrote:
> Is there a way to get the absolute path of the binary that has been loaded 
> into a task_struct structure?

This question was asked a month or two ago.  I believe my suggestion was
to look at how proc does it - /proc/<pid>/exe is a symlink to the
executable.  I think somebody even posted some code.  I suggest you
search the archives.  Feel free to post again if you can't find it or
still need help.


Avishay Traeger
http://www.fsl.cs.sunysb.edu/~avishay/


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