freebsd-nq/lib/libc
Jacques Vidrine a03fd3b656 When a dynamic NSS module is built and linked against a thread
library, it may pull in that thread library at run time.  If the
process started out single-threaded, this could cause attempts to
release locks that do not exist.  Guard against this possibility by
checking __isthreaded before invoking thread primitives.

A similar problem remains if the process is linked against one thread
library, but the NSS module is linked against another.  This can only
be avoided by careful design of the NSS module.

Submitted by:	Sean McNeil <sean@mcneil.com> (mostly; bugs are mine)
2004-03-30 15:56:15 +00:00
..
alpha Use unions to avoid violating C99 strict aliasing rules. 2004-03-16 20:42:02 +00:00
amd64 Change the syscall stub branch orders so that the static branch prediction 2004-02-22 02:11:39 +00:00
compat-43 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
db Simplify mpool_get() and mpool_write() by using pread() and pwrite() 2004-01-20 00:40:35 +00:00
gdtoa Updated manh shift constant type to 'ULL' for PPC to fix 2004-01-21 04:51:50 +00:00
gen Document the existence of NET_RT_IFMALIST. 2004-03-25 10:08:46 +00:00
gmon Use ANSI C function definition for _mcount' and remove static' 2004-01-06 18:49:54 +00:00
i386 Remove the code and an associated comment for gcc 1.x compatibility 2004-02-16 10:03:02 +00:00
ia64 Fix some aliasing problems. 2004-02-16 10:02:40 +00:00
include When a dynamic NSS module is built and linked against a thread 2004-03-30 15:56:15 +00:00
locale Add cross-references to isideogram(3), isphonogram(3), isrune(3), 2004-03-30 08:11:57 +00:00
net When a dynamic NSS module is built and linked against a thread 2004-03-30 15:56:15 +00:00
nls Remove incomplete support for running FreeBSD userland on old NetBSD kernels 2003-10-29 10:45:01 +00:00
posix1e Adjust for brain outage that affected the previous commit. 2004-01-06 20:29:40 +00:00
powerpc makecontext lib call. 2004-03-02 06:22:24 +00:00
quad libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
regex mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
rpc Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) 2004-03-05 08:10:19 +00:00
sparc64 Use unions to avoid violating C99 strict aliasing rules. 2004-03-16 20:42:02 +00:00
stdio Mention that funopen() uses fpos_t incorrectly in the BUGS section. 2004-03-20 08:41:12 +00:00
stdlib Rearrange (centralize) initialization of mallocs internals to always be 2004-03-07 20:41:27 +00:00
stdtime Detect range errors when using the %s specifier. Previously, LONG_MAX 2003-11-17 04:19:15 +00:00
string Translate from GNU C to ISO C. 2004-01-14 07:47:10 +00:00
sys Shave-off troff cycles by invoking .Fa only once. 2004-03-19 16:04:11 +00:00
uuid Remove stale DCE 1.1 pointers to the IBM site. The URLs aren't valid 2003-08-08 19:18:43 +00:00
xdr When writing/reading longs use explicit 32bit temporary values. 2004-01-24 01:23:30 +00:00
yp Back out the `hiding' of strlcpy and strlcat. Several people 2003-05-01 19:03:14 +00:00
Makefile libc is now WARNS=2 clean with the exception of the gdtoa bits (which 2004-01-19 16:16:53 +00:00