markj cd1fe572f5 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
..
2014-08-04 21:12:38 +00:00
2014-09-04 17:36:21 +00:00
2014-07-07 00:27:09 +00:00
2014-08-20 14:58:25 +00:00
2014-10-16 22:04:07 +00:00
2014-07-07 00:27:09 +00:00