<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/include, branch release/11.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2016-07-05T22:30:29Z</updated>
<entry>
<title>Remove incorrect attributes from posix_memalign(3) declaration.</title>
<updated>2016-07-05T22:30:29Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-07-05T22:30:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9143e6e49afc1bee47713c740c1fe290690739b6'/>
<id>urn:sha1:9143e6e49afc1bee47713c740c1fe290690739b6</id>
<content type='text'>
Both __alloc_align and __alloc_size can't be used when the function
returns a pointer to memory. This fixes breakage when building with
clang 3.4:

In file included from /usr/src/svn/usr.sbin/bhyve/atkbdc.c:40:
/usr/include/stdlib.h:176:6: error: '__alloc_size__' attribute only
applies to functions that return a pointer [-Werror,-Wignored-attributes]

Pointed out by:	ngie, cem
Approved by:	re (gjb)
</content>
</entry>
<entry>
<title>Commit the bits of nda that were missed. This should fix the build.</title>
<updated>2016-06-10T06:04:53Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2016-06-10T06:04:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f24c011beb9e489d132ee3940bc5ae328f01ea80'/>
<id>urn:sha1:f24c011beb9e489d132ee3940bc5ae328f01ea80</id>
<content type='text'>
Approved by: re@
</content>
</entry>
<entry>
<title>Implement an NSS backend for netgroups and add getnetgrent_r(3).</title>
<updated>2016-06-09T01:28:44Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2016-06-09T01:28:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=714ac00292201390b38037496ca4c84e4ecd4a2c'/>
<id>urn:sha1:714ac00292201390b38037496ca4c84e4ecd4a2c</id>
<content type='text'>
This support appears to have been documented in nsswitch.conf(5) for some
time. The implementation adds two NSS netgroup providers to libc. The
default, compat, provides the behaviour documented in netgroup(5), so this
change does not make any user-visible behaviour changes. A files provider
is also implemented.

innetgr(3) is implemented as an optional NSS method so that providers such
as NIS which are able to implement efficient reverse lookup can do so.
A fallback implementation is used otherwise. getnetgrent_r(3) is added for
convenience and to provide compatibility with glibc and Solaris.

With a small patch to net/nss_ldap, it's possible to specify an ldap
netgroup provider, allowing one to query nisNetgroupTriple entries.

Sponsored by:	EMC / Isilon Storage Division
</content>
</entry>
<entry>
<title>Fix prototype of dbm_open().</title>
<updated>2016-05-31T18:32:57Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2016-05-31T18:32:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=de1d2695831563910c907de54b6f47954f681e62'/>
<id>urn:sha1:de1d2695831563910c907de54b6f47954f681e62</id>
<content type='text'>
The last argument of dbm_open() should be a mode_t according to POSIX;
not an int.

Reviewed by:	pfg, kib
Differential Revision:	https://reviews.freebsd.org/D6650
</content>
</entry>
<entry>
<title>Make strfmon_l() work without requiring the use of &lt;xlocale.h&gt;.</title>
<updated>2016-05-31T12:29:21Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2016-05-31T12:29:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b240f5e262a10fd8072e8dfe989703b973a354d0'/>
<id>urn:sha1:b240f5e262a10fd8072e8dfe989703b973a354d0</id>
<content type='text'>
The strfmon_l() function provided by &lt;xlocale/_monetary.h&gt; is also part
of POSIX 2008's &lt;monetary.h&gt;, so it should be exposed by default.

Change the check used in &lt;monetary.h&gt; to be similar to the one that's
part of &lt;wchar.h&gt;, where we both test for __POSIX_VISIBLE and
_XLOCALE_H_.
</content>
</entry>
<entry>
<title>Let dbm's datum::dptr use the right type.</title>
<updated>2016-05-30T16:52:23Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2016-05-30T16:52:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2fed5061dbe20aa378935f2b1dabfeb3f4cf6976'/>
<id>urn:sha1:2fed5061dbe20aa378935f2b1dabfeb3f4cf6976</id>
<content type='text'>
According to POSIX, it should use void *, not char *. Unfortunately, the
dsize field also has the wrong type. It should be size_t. I'm not going
to change that, as that will break the ABI.

Reviewed by:	pfg
Differential Revision:	https://reviews.freebsd.org/D6647
</content>
</entry>
<entry>
<title>Add missing va_list to &lt;wchar.h&gt;.</title>
<updated>2016-05-30T16:26:34Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2016-05-30T16:26:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7e3327be3254104f91c923180407c5c7e9f8dfae'/>
<id>urn:sha1:7e3327be3254104f91c923180407c5c7e9f8dfae</id>
<content type='text'>
It looks like va_list should always be defined when XSI is enabled. It
moved over to the POSIX base in the 2008 edition.
</content>
</entry>
<entry>
<title>Fix the signature of the psignal() function.</title>
<updated>2016-05-30T13:51:27Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2016-05-30T13:51:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0977bd1e889aae7c131863a72f37c71bfa0345d1'/>
<id>urn:sha1:0977bd1e889aae7c131863a72f37c71bfa0345d1</id>
<content type='text'>
POSIX 2008 added the psignal() function which has already been part of
the BSDs for a long time. The only difference is, the POSIX version uses
an 'int' for the signal number, unlike our version which uses an
'unsigned int'. Fix up the function to use an 'int'. This should not
affect the ABI.
</content>
</entry>
<entry>
<title>Add missing types and constants to &lt;netdb.h&gt;.</title>
<updated>2016-05-30T13:37:11Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2016-05-30T13:37:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=07acf54b4bad4abba3192c032d28c863ca874bb2'/>
<id>urn:sha1:07acf54b4bad4abba3192c032d28c863ca874bb2</id>
<content type='text'>
According to POSIX, the netdb.h header must also provide in_addr_t and
in_port_t. It should also provide IPPORT_RESERVED. Copy over the
necessary bits from &lt;netinet/in.h&gt; to achieve that.
</content>
</entry>
<entry>
<title>Add missing declaration of ino_t.</title>
<updated>2016-05-30T07:50:57Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2016-05-30T07:50:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=611c29bab95b093a5f89746430c4a78a27ac13bc'/>
<id>urn:sha1:611c29bab95b093a5f89746430c4a78a27ac13bc</id>
<content type='text'>
POSIX requires that &lt;dirent.h&gt; provides ino_t in the XSI case. In our
case, this wasn't being exposed, as d_ino is a macro that expands to
d_fileno that is an uint32_t, not an ino_t.
</content>
</entry>
</feed>
