Re: vn_fullpath question.
- From: Nikolay Pavlov <quetzal@xxxxxxxxxxxx>
- Date: Mon, 27 Nov 2006 22:02:15 +0200
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.
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
--
======================================================================
- Best regards, Nikolay Pavlov. <<<-----------------------------------
======================================================================
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- References:
- vn_fullpath question.
- From: Nikolay Pavlov
- Re: vn_fullpath question.
- From: Ruslan Ermilov
- Re: vn_fullpath question.
- From: Nikolay Pavlov
- Re: vn_fullpath question.
- From: Ivan Voras
- vn_fullpath question.
- Prev by Date: Re: vn_fullpath question.
- Next by Date: Re: pfctl
- Previous by thread: Re: vn_fullpath question.
- Next by thread: Re: vn_fullpath question.
- Index(es):
Relevant Pages
|
|