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.

It's not just $ORIGIN that can make use of it. Imagine for a moment
getting a backtrace automatically on a segfault. It's a lot easier and
more reliable if you get access to the debug sections. Those are
normally not mapped though, so you need access to the path. Sure, there
is still the chance of renames etc in the middle, but those are rare.

Joerg


Home | Main Index | Thread Index | Old Index