On Sun, Feb 20, 2005, David Schultz wrote: > 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.
There's also a linux_getcwd() in the Linuxolator, but it's slightly broken in ways I don't recall. _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

