tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: misuse of pathnames in rump (and portalfs?)

On Tue, Nov 23, 2010 at 11:13:02PM +0000, David Holland wrote:
> I have run into a problem fixing namei.
> First, background: VOP_LOOKUP is the per-fs vnode operation that takes
> a directory and a name and returns the vnode associated with that
> name. This currently has a horrific interface and the chief goal of
> the namei cleanup is to rectify this so all it needs is a vnode and a
> string.

Presuably also some flags - NOFOLLOW etc ....

One thing I have wondered (which might be related to what rump
expects) is whether namei could perform 'realpath' as part of its
processing - at least optionally?
At least as far as following symlinks and following "/../", the final
path might still be relative (and thus start with ../).


David Laight:

Home | Main Index | Thread Index | Old Index