Hello,

I was wondering if anyone has figured a way to make vn_fullpath() reliable?

Perhaps there is another approach to attacking this problem. Here is what I need
to accomplish:

I need to be able to determine dynamic linker, shared libraries or executable
name for a specific process.

The alternative to vn_fullpath() is intercepting calls, however I need an
interpreter name in case of a script.

The problem with name cache is:
a. name has to be in the cache
b. hardlinks cause vnodes with multiple names

This must be a common problem so I was curious whether there is a solution.

If anyone has any experience making this work, please advise.

Thank you,

Igor.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to