HardenedBSD/libexec
John Baldwin 9abeb029d4 The runtime linker needs to include a path to itself in the link map
it exports to the debugger.  It currently has two choices: it can use
a compiled-in path (/libexec/ld-elf.so.1) or it can use the path stored
in the interpreter path in the binary being executed.  The runtime linker
currently prefers the second.  However, this is usually wrong for compat32
binaries since the binary specifies the path of rtld on a 32-bit system
(/libexec/ld-elf.so.1) instead of the actual path (/libexec/ld-elf32.so.1).
For now, always assume the compiled in path (/libexec/ld-elf32.so.1) as
the rtld path and ignore the path in the binary for the 32-bit runtime
linker.

Differential Revision:	https://reviews.freebsd.org/D1236
Reviewed by:	kib
2014-12-02 16:22:08 +00:00
..
atf Convert to LIBADD 2014-11-25 21:18:18 +00:00
atrun Convert to LIBADD 2014-11-25 21:18:18 +00:00
bootpd
casper Convert to LIBADD 2014-11-25 21:18:18 +00:00
comsat
dma Convert to LIBADD 2014-11-25 21:18:18 +00:00
dma-mbox-create
fingerd Convert to LIBADD 2014-11-25 21:18:18 +00:00
ftpd Convert to LIBADD 2014-11-25 21:18:18 +00:00
getty Convert to LIBADD 2014-11-25 21:18:18 +00:00
hyperv
mail.local Convert to LIBADD 2014-11-25 21:18:18 +00:00
mknetid
pppoed Convert to LIBADD 2014-11-25 21:18:18 +00:00
rbootd
revnetgroup
rlogind Convert to LIBADD 2014-11-25 21:18:18 +00:00
rpc.rquotad Convert to LIBADD 2014-11-25 21:18:18 +00:00
rpc.rstatd Convert to LIBADD 2014-11-25 21:18:18 +00:00
rpc.rusersd Convert to LIBADD 2014-11-25 21:18:18 +00:00
rpc.rwalld Convert to LIBADD 2014-11-25 21:18:18 +00:00
rpc.sprayd Convert to LIBADD 2014-11-25 21:18:18 +00:00
rshd Convert to LIBADD 2014-11-25 21:18:18 +00:00
rtld-aout
rtld-elf The runtime linker needs to include a path to itself in the link map 2014-12-02 16:22:08 +00:00
save-entropy
smrsh Convert to LIBADD 2014-11-25 21:18:18 +00:00
talkd
tcpd Convert to LIBADD 2014-11-25 21:18:18 +00:00
telnetd Convert to LIBADD 2014-11-25 21:18:18 +00:00
tests
tftp-proxy
tftpd Convert to LIBADD 2014-11-25 21:18:18 +00:00
ulog-helper Convert to LIBADD 2014-11-25 21:18:18 +00:00
ypxfr Convert to LIBADD 2014-11-25 21:18:18 +00:00
Makefile
Makefile.amd64
Makefile.i386
Makefile.inc
Makefile.pc98