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-07-23 15:12:17 +00:00
2014-01-21 21:13:13 +00:00
2014-05-15 15:22:32 +00:00
2014-02-01 09:27:57 +00:00
2012-10-18 15:39:29 +00:00
2013-05-12 22:22:12 +00:00
2014-07-07 00:27:09 +00:00
2014-08-18 14:23:07 +00:00
2014-07-24 01:38:11 +00:00
2014-10-23 23:14:23 +00:00
2014-07-07 00:27:09 +00:00
2014-10-23 23:14:23 +00:00