freebsd-dev/libexec
Konstantin Belousov 0e9a260520 Rtld links with the specially built pic static libc library to get some
C runtime services, like printf(). Unfortunately, the multithread-safeness
measures in the libc do not work in rtld environment.

Rip the kernel printf() implementation and use it in the rtld instead of
libc version. This printf does not require any shared global data and thus
is mt-safe. Systematically use rtld_printf() and related functions, remove
the calls to err(3).

Note that stdio is still pulled from libc due to libmap implementaion using
fopen(). This is safe but unoptimal, and can be changed later.

Reported and tested by:	pgj
Diagnosed and reviewed by:	kan (previous version)
Approved by:	re (bz)
2011-08-24 20:05:13 +00:00
..
atrun
bootpd Catch up with kernel using time_uptime to drive ARP timeouts. 2010-12-06 09:39:36 +00:00
comsat Remove a gratuitous newline. This should be a non-functional change. 2011-06-07 16:23:27 +00:00
fingerd
ftpd Add LOGIN_SETCPUMASK and LOGIN_SETLOGINCLASS to the setusercontext(3) 2011-06-22 19:14:49 +00:00
getty Add __unused. Ansi prototypes. 2010-12-20 08:29:54 +00:00
lukemftpd
mail.local
mknetid Fix double ;; 2010-12-06 10:24:06 +00:00
pppoed
rbootd Add __unused 2010-12-20 08:37:26 +00:00
revnetgroup
rlogind Add __unused 2010-12-20 08:44:08 +00:00
rpc.rquotad
rpc.rstatd
rpc.rusersd
rpc.rwalld add __unused 2010-12-19 13:05:17 +00:00
rpc.sprayd
rshd
rtld-aout
rtld-elf Rtld links with the specially built pic static libc library to get some 2011-08-24 20:05:13 +00:00
save-entropy
smrsh
talkd Remove unneeded use of struct timezone. 2010-08-08 02:45:48 +00:00
tcpd
telnetd
tftp-proxy
tftpd Pull in some wording to the tftpd.8 man page 2011-07-31 03:18:36 +00:00
ulog-helper Minor cleanups to ulog-helper: 2011-06-21 17:59:51 +00:00
ypxfr Fix incorrect usage of 'assure' and 'insure'. 2010-08-28 16:32:01 +00:00
Makefile
Makefile.inc