Re: path_lookup for executable

From: Arjan van de Ven
Date: Mon Nov 20 2006 - 14:28:36 EST


On Mon, 2006-11-20 at 19:14 +0000, e m wrote:
> Thanks for response. Is there any other way to identify if "current" is a
> certain program such as java. You cannot surely go by name (comm field of
> task_struct). Since It could be linked. In another word, I want to identify
> the executing current program. Any help appreciated.

since the binary may have been removed from the disk entirely (and no
that is not a corner case, a lot of the background daemons will have
that if their "original" gets rpm-updated or similar)... what would this
mean? What do you want to use it for?



--
if you want to mail me at work (you don't), use arjan (at) linux.intel.com
Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/