1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-03 12:35:02 +00:00
freebsd/lib/libc/net
Mark Johnston f53b045631 Eliminate conf_lock and instead rely on the NSS write lock to protect
NSS configuration state.

As a side effect, this fixes a race condition which can occur if multiple
threads call nsdispatch(3) concurrently before nsswitch.conf has been
parsed. Previously, the thread holding conf_lock could cause other threads
to return from nss_configure() before nsswitch.conf had been parsed, forcing
them to fall back to the default sources for their NSS methods.

Reviewed by:		jhb
Differential Revision:	https://reviews.freebsd.org/D994
MFC after:		1 month
Sponsored by:		EMC / Isilon Storage Division
2014-10-24 20:29:14 +00:00
..
base64.c
byteorder.3
ether_addr.c Make ether_line really report an error when all input is invalid. 2014-03-12 12:27:13 +00:00
ethers.3
eui64.3
eui64.c libc: Make various internal file descriptors from fopen() close-on-exec. 2013-08-23 13:59:47 +00:00
gai_strerror.3
gai_strerror.c
getaddrinfo.3 Update references. 2013-07-09 08:23:43 +00:00
getaddrinfo.c Fix build with WITHOUT_INET6. 2014-06-26 14:24:31 +00:00
gethostbydns.c
gethostbyht.c libc: Make various internal file descriptors from fopen() close-on-exec. 2013-08-23 13:59:47 +00:00
gethostbyname.3 Consistently use 'af' as an argument name for address family. 2013-08-18 10:38:59 +00:00
gethostbynis.c
gethostnamadr.c
getifaddrs.3 Update manpages for r250887. 2013-05-21 21:39:18 +00:00
getifaddrs.c
getifmaddrs.3 Update manpages for r250887. 2013-05-21 21:39:18 +00:00
getifmaddrs.c Switch to 2-clause license and standard text 2013-06-06 21:09:27 +00:00
getipnodebyname.3
getnameinfo.3 Update references. 2013-07-09 08:23:43 +00:00
getnameinfo.c
getnetbydns.c
getnetbyht.c libc: Make various internal file descriptors from fopen() close-on-exec. 2013-08-23 13:59:47 +00:00
getnetbynis.c
getnetent.3
getnetnamadr.c
getproto.c
getprotoent.3
getprotoent.c libc: Make various internal file descriptors from fopen() close-on-exec. 2013-08-23 13:59:47 +00:00
getprotoname.c
getservent.3
getservent.c libc: Make various internal file descriptors from fopen() close-on-exec. 2013-08-23 13:59:47 +00:00
hesiod.3
hesiod.c libc: Make various internal file descriptors from fopen() close-on-exec. 2013-08-23 13:59:47 +00:00
if_indextoname.3
if_indextoname.c
if_nameindex.c
if_nametoindex.c libc: Use SOCK_CLOEXEC for various internal file descriptors. 2013-09-06 21:02:06 +00:00
inet6_opt_init.3
inet6_option_space.3
inet6_rth_space.3
inet6_rthdr_space.3
inet_net.3
inet.3
ip6opt.c Accept RFC 2292 option values so that RFC 2292 compliant programs that 2014-04-05 18:32:40 +00:00
linkaddr.3
linkaddr.c Const-ify character string 2014-08-07 22:14:37 +00:00
Makefile.inc Make generation of nslexer.c more robust. 2014-07-14 13:53:10 +00:00
map_v4v6.c
name6.c libc: Use SOCK_CLOEXEC for various internal file descriptors. 2013-09-06 21:02:06 +00:00
netdb_private.h
nscache.c
nscachedcli.c libc: Use SOCK_CLOEXEC for various internal file descriptors. 2013-09-06 21:02:06 +00:00
nsdispatch.3 use .Mt to mark up email addresses consistently (part4) 2014-06-23 08:25:03 +00:00
nsdispatch.c Eliminate conf_lock and instead rely on the NSS write lock to protect 2014-10-24 20:29:14 +00:00
nslexer.l Remove clause 3 and 4 from TNF licenses 2013-05-29 01:54:10 +00:00
nsparser.y Remove clause 3 and 4 from TNF licenses 2013-05-29 01:54:10 +00:00
nss_backends.h
nss_compat.c
ntoh.c
rcmd.3
rcmd.c libc: Make various internal file descriptors from fopen() close-on-exec. 2013-08-23 13:59:47 +00:00
rcmdsh.3
rcmdsh.c
recv.c Make recv() and send() cancellation points, as required by POSIX. 2013-06-09 14:31:59 +00:00
res_config.h
resolver.3
rthdr.c
sctp_bindx.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_connectx.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_freepaddrs.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_getaddrlen.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_getassocid.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_getpaddrs.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_opt_info.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_recvmsg.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_send.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_sendmsg.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_sys_calls.c Add support for the SCTP_PR_STREAM_STATUS and SCTP_PR_ASSOC_STATUS 2014-08-13 15:50:16 +00:00
send.c Make recv() and send() cancellation points, as required by POSIX. 2013-06-09 14:31:59 +00:00
sockatmark.3
sockatmark.c
sourcefilter.3 use .Mt to mark up email addresses consistently (part4) 2014-06-23 08:25:03 +00:00
sourcefilter.c Clean r268867. 2014-07-19 14:34:06 +00:00
Symbol.map
vars.c