tech-toolchain archive

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

Re: Fixing $ORGIN RPATHs - at least some of them



On Tue, Nov 07, 2017 at 06:58:13PM +0100, Kamil Rytarowski wrote:
 > I mean that a program can exist as two or more files, like:
 > 
 > /sbin/dump
 > /sbin/rdump
 > 
 > Some software (for example in LLVM) require to return the exact executed
 > program, not a random executable based on an inode value. Right now LLVM
 > is guessing program exec name on NetBSD reading argv[0], as the
 > sysctl(2) version wasn't reliable.

This is why the whole notion of trying to get the name of the
executable is flawed.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index