On Monday, 27 November 2006 at 17:12:44 +0100, Ivan Voras wrote: > Nikolay Pavlov wrote: > > > Yes i know about this man, but still not sure how to get *td structure. > > In kernel? There's a global variable curthread AFAIK.
I am not sure. If i understand the fstat code right, it uses kvm interface to extract kinfo_proc structures from kernel space. textvp vnode pointer could be found in this structureis, but to perform vn_fullpath lookup according to man 9 vn_fullpath i need also thread pointer. > > _______________________________________________ > [email protected] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- ====================================================================== - Best regards, Nikolay Pavlov. <<<----------------------------------- ====================================================================== _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

