NetBSD/libexec
skrll d900731978 Resolve dlsym(3) and friends directly so that dlsym(RTLD_NEXT,...) works.
Previously dlsym resolved to the version in crt0.o or libc which would
mean that the caller's shared object couldn't be determined correctly
using __builtin_return_address(0).

Mainly from FreeBSD, but adapted by me. Benefits of this solutions are:

	- backward comptibility maintained
	- existing broken binaries are fixed with a new ld.elf_so
	- __mainprog_obj can be removed from crt0.o
	- we do the same thing as FreeBSD

Fixes PR 22067.

OKed by Jason and Christos.
2003-08-12 09:18:38 +00:00
..
atrun netbsd.org->NetBSD.org 2003-07-26 19:24:24 +00:00
comsat Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:46:37 +00:00
cron
fingerd Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:46:37 +00:00
ftpd Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:46:37 +00:00
getNAME Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:46:37 +00:00
getty Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:46:37 +00:00
hpropd split MKKERBEROS4 from MKKERBEROS. based on work by lha at stacken.kth.se 2003-07-23 08:01:24 +00:00
identd Include <stdlib.h> for exit(3) prototype, warned by gcc-3.3. 2003-07-05 12:34:12 +00:00
kadmind split MKKERBEROS4 from MKKERBEROS. based on work by lha at stacken.kth.se 2003-07-23 08:01:24 +00:00
kpasswdd add DPADD 2002-10-23 01:06:11 +00:00
ld.aout_so Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:46:37 +00:00
ld.elf_so Resolve dlsym(3) and friends directly so that dlsym(RTLD_NEXT,...) works. 2003-08-12 09:18:38 +00:00
lfs_cleanerd Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:46:37 +00:00
mail.local Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:46:37 +00:00
makekey Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:46:37 +00:00
makewhatis netbsd.org->NetBSD.org 2003-07-26 19:24:24 +00:00
rexecd Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:46:37 +00:00
rlogind Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:46:37 +00:00
rmail Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:46:37 +00:00
rpc.rquotad Remove bug section, we now support group quotas. 2003-02-14 14:58:42 +00:00
rpc.rstatd Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:46:37 +00:00
rpc.rusersd Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:46:37 +00:00
rpc.rwalld Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:46:37 +00:00
rpc.sprayd .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
rshd Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:46:37 +00:00
talkd Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:46:37 +00:00
telnetd Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:46:37 +00:00
tftpd Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:46:37 +00:00
utmp_update The following changes make ftpd able to remove its own entries. Ftpd 2003-02-26 18:16:50 +00:00
uucpd Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:46:37 +00:00
Makefile don't build kfd; there are security issues with heimdal 0.4e, and we 2002-09-10 22:17:04 +00:00
Makefile.inc Format string cleanups by sommerfeld. 2000-10-10 19:54:37 +00:00