<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/net/nsdispatch.c, branch releng/12.4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2018-10-15T17:50:02Z</updated>
<entry>
<title>Don't call dlopen(3) for built-in NSS types - "cache", "compat",</title>
<updated>2018-10-15T17:50:02Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2018-10-15T17:50:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1d7da823b49459aab466de4614b1895e917df3da'/>
<id>urn:sha1:1d7da823b49459aab466de4614b1895e917df3da</id>
<content type='text'>
"dns", "files", "db", and "nis". It saves some path lookups during
binary startup.

Reviewed by:	markj
Approved by:	re (gjb, kib)
MFC after:	2 weeks
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D17557
</content>
</entry>
<entry>
<title>libc: further adoption of SPDX licensing ID tags.</title>
<updated>2017-11-25T17:12:48Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-25T17:12:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d915a14ef094c8dfc1a5aee70e135abfec01d0f1'/>
<id>urn:sha1:d915a14ef094c8dfc1a5aee70e135abfec01d0f1</id>
<content type='text'>
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using mis-identified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
</content>
</entry>
<entry>
<title>Don't dlclose NSS modules from nss_atexit().</title>
<updated>2017-07-11T17:59:15Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2017-07-11T17:59:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7f48d6a486b174e03987ac65734a822d811610da'/>
<id>urn:sha1:7f48d6a486b174e03987ac65734a822d811610da</id>
<content type='text'>
As hinted in the commit log message for r259042, this is unnecessary.
Moreover, as a result of that change we may invoke a DSO's atexit handler
after it has been unmapped.

Reviewed by:	bdrewery, cem
MFC after:	1 week
Sponsored by:	Dell EMC Isilon
</content>
</entry>
<entry>
<title>libc: provide some bounds-checking through reallocarray(3).</title>
<updated>2017-03-12T16:03:34Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-03-12T16:03:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9f36610f9ef53017afbc50520b999882958c402c'/>
<id>urn:sha1:9f36610f9ef53017afbc50520b999882958c402c</id>
<content type='text'>
reallocarray(3) is a non portable extension that originated in OpenBSD.
Given that it is already in FreeBSD's libc it is useful for the cases
where reallocation involves a multiplication.

MFC after:		2 weeks
Differential Revision:	https://reviews.freebsd.org/D9955
</content>
</entry>
<entry>
<title>Fix indentation in nss_configure().</title>
<updated>2017-02-14T21:55:50Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2017-02-14T21:55:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=661c4fe512f6e8311cc03f188a4fc3808bd52e09'/>
<id>urn:sha1:661c4fe512f6e8311cc03f188a4fc3808bd52e09</id>
<content type='text'>
MFC after:	1 week
Sponsored by:	Dell EMC Isilon
</content>
</entry>
<entry>
<title>Register nss_atexit() before parsing nsswitch.conf for the first time.</title>
<updated>2017-02-14T21:51:19Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2017-02-14T21:51:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=888e46a99b7440904a564a715e5aea0a7e74db0e'/>
<id>urn:sha1:888e46a99b7440904a564a715e5aea0a7e74db0e</id>
<content type='text'>
NSS modules are loaded when nsswitch.conf is parsed and may register their
own atexit handlers with libc. nss_atexit() unloads any dynamically loaded
NSS modules, so it should run only after the modules' atexit handlers have
been invoked.

MFC after:	2 weeks
Sponsored by:	Dell EMC Isilon
</content>
</entry>
<entry>
<title>The fallback flag in nsdispatch prevents the fallback implementation of</title>
<updated>2014-11-25T09:47:15Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2014-11-25T09:47:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=83804ea07400d96725647571ae0b64a6a728f5bd'/>
<id>urn:sha1:83804ea07400d96725647571ae0b64a6a728f5bd</id>
<content type='text'>
getgroupmembership() from invoking the correct backend in the compat case.
Replace it with a nesting depth counter so it only blocks one level (the
first is the group -&gt; group_compat translation, the second is the actual
backend).  This is one of two bugs that break getgrouplist() in the compat
case, the second being that the backend's own getgroupmembership() method
is ignored.  Unfortunately, that is not easily fixable without a redesign
of our nss implementation (which is also needed to implement the +@group
syntax in /etc/passwd).

PR:		190055
MFC after:	1 week
</content>
</entry>
<entry>
<title>Eliminate conf_lock and instead rely on the NSS write lock to protect</title>
<updated>2014-10-24T20:29:14Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2014-10-24T20:29:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f53b0456310f13a43854dce2c385116886d14a9f'/>
<id>urn:sha1:f53b0456310f13a43854dce2c385116886d14a9f</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>libc: Make various internal file descriptors from fopen() close-on-exec.</title>
<updated>2013-08-23T13:59:47Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2013-08-23T13:59:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a93705b06eb4bf2295dc0368faf8f38ed8a7cee7'/>
<id>urn:sha1:a93705b06eb4bf2295dc0368faf8f38ed8a7cee7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove clause 3 and 4 from TNF licenses</title>
<updated>2013-05-29T01:54:10Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2013-05-29T01:54:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9eafd635743b1579f872b8f76ceeb23ab4ff1861'/>
<id>urn:sha1:9eafd635743b1579f872b8f76ceeb23ab4ff1861</id>
<content type='text'>
Per the NetBSD Foundation statement
  Third parties are encouraged to change the license on any files which
  have a 4-clause license contributed to the NetBSD Foundation to a
  2-clause license.
</content>
</entry>
</feed>
