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: da...@l8s.co.uk