A task_struct question

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

 



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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux