<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libdevinfo/devinfo.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-05-31T02:58:03Z</updated>
<entry>
<title>Update to device enumeration protocol 2</title>
<updated>2018-05-31T02:58:03Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2018-05-31T02:58:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cf72c10fd250ae282e14458ed528642fb724a837'/>
<id>urn:sha1:cf72c10fd250ae282e14458ed528642fb724a837</id>
<content type='text'>
The new protocol from the kernel encodes things as a string table,
extract it into fields. strdup the strings, and free them when we're
done.

Differential Revision: https://reviews.freebsd.org/D15629
</content>
</entry>
<entry>
<title>Sanity check the return from the kernel.</title>
<updated>2018-05-31T02:57:51Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2018-05-31T02:57:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=92376fa76c0b342f61d8b8505119bdf56d5af781'/>
<id>urn:sha1:92376fa76c0b342f61d8b8505119bdf56d5af781</id>
<content type='text'>
We should be getting back as many bytes as we asked for, and we
don't handle shortages at all, so just reject anything that's
not right.

Differential Revision: https://reviews.freebsd.org/D15629
</content>
</entry>
<entry>
<title>There's no meaningful errno when there's a version mismatch, so use</title>
<updated>2018-05-30T15:08:46Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2018-05-30T15:08:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=51a9cfbf605baa9c7a63dd9b999b3e86889cf6c6'/>
<id>urn:sha1:51a9cfbf605baa9c7a63dd9b999b3e86889cf6c6</id>
<content type='text'>
warnx. Also, report the mis-matched versions.
</content>
</entry>
<entry>
<title>Bump number that's an insane number of devices from 1,000 to 10,000. I</title>
<updated>2017-12-21T04:21:59Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2017-12-21T04:21:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=41ec95c47fd3bac8549d0b5d424eaa2b6420e47d'/>
<id>urn:sha1:41ec95c47fd3bac8549d0b5d424eaa2b6420e47d</id>
<content type='text'>
have access to machines that are pushing 400 devices. When 1,000 was
selected, it was rare to get even 40 or 50 devices. Bump the limit by
10x to keep up with the times.

Sponsored by: Netflix
</content>
</entry>
<entry>
<title>lib: further adoption of SPDX licensing ID tags.</title>
<updated>2017-11-26T02:00:33Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-26T02:00:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5e53a4f90f82c4345f277dd87cc9292f26e04a29'/>
<id>urn:sha1:5e53a4f90f82c4345f277dd87cc9292f26e04a29</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>Make the variadic macro debug() comply to C99.</title>
<updated>2006-07-17T09:33:24Z</updated>
<author>
<name>Stefan Farfeleder</name>
<email>stefanf@FreeBSD.org</email>
</author>
<published>2006-07-17T09:33:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=60cd58631809983448e085137c045f48355468d4'/>
<id>urn:sha1:60cd58631809983448e085137c045f48355468d4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Clear devinfo_generation in devinfo_free() since we are freeing all of the</title>
<updated>2005-06-22T15:20:11Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2005-06-22T15:20:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=afc7f38c6b5adab2c942d72fbb7df41a700c492f'/>
<id>urn:sha1:afc7f38c6b5adab2c942d72fbb7df41a700c492f</id>
<content type='text'>
cached state.  Otherwise, a subsequent call to devinfo_init() would succeed
without reading the device tree from the kernel thinking that the cached
state was up to date since the generation count was the same.  However,
since the cached state was actually free'd, attempts to examine the tree
after the second devinfo_init() would fail.

Reported by:	Juho Vuori juho dot vuori at kepa dot fi
Submitted by:	Stefan Farfeleder stefan at fafoe dot narf dot at
Approved by:	re (dwhite)
MFC after:	1 week
</content>
</entry>
<entry>
<title>Remove unused variables. Whitespace cleaning.</title>
<updated>2005-05-20T12:46:34Z</updated>
<author>
<name>Philippe Charnier</name>
<email>charnier@FreeBSD.org</email>
</author>
<published>2005-05-20T12:46:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=109a0e6b26ae0aa9084ada9c0ce688bc6f1cbd37'/>
<id>urn:sha1:109a0e6b26ae0aa9084ada9c0ce688bc6f1cbd37</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix typo in a comment.</title>
<updated>2005-03-01T20:32:05Z</updated>
<author>
<name>Stefan Farfeleder</name>
<email>stefanf@FreeBSD.org</email>
</author>
<published>2005-03-01T20:32:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2af3af27a2b48ee2a2fb69fa65bc79ab1117b8ee'/>
<id>urn:sha1:2af3af27a2b48ee2a2fb69fa65bc79ab1117b8ee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Prefer C99's __func__ over GCC's __FUNCTION__.</title>
<updated>2004-09-22T16:56:49Z</updated>
<author>
<name>Stefan Farfeleder</name>
<email>stefanf@FreeBSD.org</email>
</author>
<published>2004-09-22T16:56:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e60b9f5130555c81ac3e6b39130d5b332a979c02'/>
<id>urn:sha1:e60b9f5130555c81ac3e6b39130d5b332a979c02</id>
<content type='text'>
</content>
</entry>
</feed>
