Re: textvp_fullpath

2008-08-18 Thread Uladzislau Rezki
esystem path that correspond to a "vnode" from cache, BUT just in case it is available within "namecache". "textvp_fullpath" and "vn_fullpath" are not reliable. Maybe I've skipped something while investigating auditpipe, but I found only one place where

Re: textvp_fullpath

2008-08-15 Thread Robert Watson
On Fri, 15 Aug 2008, Uladzislau Rezki wrote: We have to to do a few thinks: 1) do original "write" sys call; 2) get full path (/etc/passwd); 3) put all this information to user land through the character device. I get stuck in point 2. I need to get full path, but how ... In FreeBSD 6.2 and

Re: textvp_fullpath

2008-08-15 Thread Uladzislau Rezki
On 14 August 2008 21:43:29 Roman Divacky wrote: > On Thu, Aug 14, 2008 at 09:20:12PM +0300, Uladzislau Rezki wrote: > > Hello folks, > > > > I'm using "textvp_fullpath" function to get full path from vnode up to > > root dir. The problem is that, someti

Re: textvp_fullpath

2008-08-14 Thread Roman Divacky
On Thu, Aug 14, 2008 at 09:20:12PM +0300, Uladzislau Rezki wrote: > Hello folks, > > I'm using "textvp_fullpath" function to get full path from vnode up to root > dir. > The problem is that, sometimes it works, sometimes no. > > I know that "textv

textvp_fullpath

2008-08-14 Thread Uladzislau Rezki
Hello folks, I'm using "textvp_fullpath" function to get full path from vnode up to root dir. The problem is that, sometimes it works, sometimes no. I know that "textvp_fullpath" goes through the cache of the vnode and try to build full path. Are there any other