Subject: Re: How to resolve the filename(s) for a vnode?
To: Jason Thorpe <firstname.lastname@example.org>
From: Charles M. Hannum <mycroft@MIT.EDU>
Date: 10/18/2005 14:04:54
Quoting Jason Thorpe <email@example.com>:
> FWIW, I would like to have a vn_getpath() type function in the NetBSD
> kernel. It should not be that difficult to add for file systems
> that participate in the namei cache.
What, exactly, would you use this for? Path->vnode bindings are ephemeral and
cannot be relied on for much without introducing security holes.
(This is also why I added futimes() and converted many things to use
fchown()/fchmod()/futimes() years ago...)