vnconfig -l support patch (Re: vn(4) RFC Misc.)

Chris Turner c.turner at 199technologies.org
Mon Jan 14 16:35:55 PST 2008


Matthew Dillon wrote:
    Use vn_fullpath() and pass 'curproc' as the process, though, instead
    of cache_fullpath(), and note that it might fail (maybe have it print
    '?' for the filename if it fails).  If the process is non-NULL
    vn_fullpath()/cache_fullpath() will truncate the path properly to
    the process's chroot.
						-Matt

cheers - appreciate the review.

Taking it that redoing w/vn_fullpath is all that is needed on this patch 
from your comments.. will commit w/edits in the next few days.

- Chris





More information about the Submit mailing list