Date: Sun, 20 Feb 2005 18:27:12 -0500 From: David Schultz <das@FreeBSD.ORG> To: Igor Shmukler <shmukler@mail.ru> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: vn_fullpath() Message-ID: <20050220232712.GA8305@VARK.MIT.EDU> In-Reply-To: <E1D2tqX-0003GO-00.shmukler-mail-ru@f21.mail.ru> References: <E1D2tqX-0003GO-00.shmukler-mail-ru@f21.mail.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 20, 2005, Igor Shmukler wrote: > 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. You'd essentially need to write a full version of getcwd(3) in the kernel. This would be useful for a number of things, performance and Linux emulation included. You might take a look at how libc's getcwd() works and take it from there.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050220232712.GA8305>