tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: vnode_to_path()
On Mon, Feb 20, 2012 at 07:25:34PM +0000, David Holland wrote:
>
> $ORIGIN is a poorly conceived interface, unfortunately.
Doesn't it really 'just' require the kernel to keep a reference to
the directory vnode the program was loaded from, and to give
userspace some method of opening files relative to that directory?
Could be as simple as using a flag bit to open, or maybe
pathnames that start "//$ORIGIN/", or even both.
David
--
David Laight: david%l8s.co.uk@localhost
Home |
Main Index |
Thread Index |
Old Index