freebsd-skq/lib/libc
Konstantin Belousov cb5c4b10ba Add two rtld exported symbols, _rtld_atfork_pre and _rtld_atfork_post.
Threading library calls _pre before the fork, allowing the rtld to
lock itself to ensure that other threads of the process are out of
dynamic linker. _post releases the locks.

This allows the rtld to have consistent state in the child. Although
child may legitimately call only async-safe functions, the call may
need plt relocation resolution, and this requires working rtld.

Reported and debugging help by:	rink
Reviewed by:	kan, davidxu
MFC after:	1 month (anyway, not before 7.1 is out)
2008-11-27 11:27:59 +00:00
..
amd64 Mark uname(), getdomainname() and setdomainname() with COMPAT_FREEBSD4. 2008-11-09 10:45:13 +00:00
arm Mark uname(), getdomainname() and setdomainname() with COMPAT_FREEBSD4. 2008-11-09 10:45:13 +00:00
compat-43
db
gdtoa
gen Add two rtld exported symbols, _rtld_atfork_pre and _rtld_atfork_post. 2008-11-27 11:27:59 +00:00
gmon
i386 On i386, the primary function that SYSCALL() generates is with the 2008-11-15 22:23:07 +00:00
ia64 Mark uname(), getdomainname() and setdomainname() with COMPAT_FREEBSD4. 2008-11-09 10:45:13 +00:00
include Add thread-specific caching for small size classes, based on magazines. 2008-08-27 02:00:53 +00:00
inet
isc
locale
mips Mark uname(), getdomainname() and setdomainname() with COMPAT_FREEBSD4. 2008-11-09 10:45:13 +00:00
nameser
net - AI_ALL and AI_V4MAPPED flags are currently not supported 2008-07-01 22:59:20 +00:00
nls
posix1e Replace the non-standard disclaimer with the standard one from /COPYRIGHT 2008-11-04 00:20:43 +00:00
powerpc Mark uname(), getdomainname() and setdomainname() with COMPAT_FREEBSD4. 2008-11-09 10:45:13 +00:00
quad
regex Add two example regexps: (1) one for matching all the characters 2008-09-05 17:41:20 +00:00
resolv
rpc Fix async mode (required for ypbind in manycast mode). 2008-09-15 14:02:49 +00:00
softfloat
sparc64 Mark uname(), getdomainname() and setdomainname() with COMPAT_FREEBSD4. 2008-11-09 10:45:13 +00:00
stdio Initialize "nconv" to a reasonable value in all code paths. Prior to 2008-08-04 06:55:42 +00:00
stdlib Revert to preferring mmap(2) over sbrk(2) when mapping memory, due to 2008-11-03 21:17:18 +00:00
stdtime Pass a pointer to warn2 so the warn2 == IN_ALL would not be an 2008-10-30 00:19:19 +00:00
string Add the ffsll and flsll functions. These are ffs and fls operating 2008-11-03 10:22:19 +00:00
sys Several cleanups related to pipe(2). 2008-11-11 14:55:59 +00:00
uuid Move uuid_enc_le, uuid_dec_le, uuid_enc_be and uuid_dec_be symbols 2008-09-19 15:52:56 +00:00
xdr Implement support for RPCSEC_GSS authentication to both the NFS client 2008-11-03 10:38:00 +00:00
yp
Makefile Enable GCC stack protection (aka Propolice) for userland: 2008-06-25 21:33:28 +00:00
Versions.def Keep versions on a dependency chain to exclude even remote possiblity 2008-05-07 15:39:34 +00:00