| #
7554746c
|
| 29-Jan-2025 |
John Baldwin <jhb@FreeBSD.org> |
libdevinfo: Avoid false positives for the root0 sentinel value
Previously, a NULL pointer value was used to request the root0 device at the top of the device tree. However, this meant that resource
libdevinfo: Avoid false positives for the root0 sentinel value
Previously, a NULL pointer value was used to request the root0 device at the top of the device tree. However, this meant that resource ranges from a rman with a NULL device pointer were annotated as being owned by root0 instead of being unowned. Switch to a different value for root0's sentinel to avoid the clash.
Since this is an ABI change, bump the SHLIB_MAJOR for libdevinfo to 7.
Reported by: jrtc27 Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D48675
show more ...
|
| #
1d386b48
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
| #
4d846d26
|
| 10-May-2023 |
Warner Losh <imp@FreeBSD.org> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
show more ...
|
| #
440cec3f
|
| 12-Aug-2020 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: Rubicon Communications, LLC (netgate.com)
|
| #
e383ec74
|
| 06-Aug-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r363739 through r363986.
|
| #
32592d86
|
| 04-Aug-2020 |
Eric van Gyzen <vangyzen@FreeBSD.org> |
devinfo: fix memory leak on error paths
Refactor to create devinfo_free_dev(). Call it to plug a memory leak on two error paths in devinfo_init_devices().
Reported by: Coverity MFC after: 2 weeks
devinfo: fix memory leak on error paths
Refactor to create devinfo_free_dev(). Call it to plug a memory leak on two error paths in devinfo_init_devices().
Reported by: Coverity MFC after: 2 weeks Sponsored by: Dell EMC Isilon
show more ...
|
| #
7554746c
|
| 29-Jan-2025 |
John Baldwin <jhb@FreeBSD.org> |
libdevinfo: Avoid false positives for the root0 sentinel value
Previously, a NULL pointer value was used to request the root0 device at the top of the device tree. However, this meant that resource
libdevinfo: Avoid false positives for the root0 sentinel value
Previously, a NULL pointer value was used to request the root0 device at the top of the device tree. However, this meant that resource ranges from a rman with a NULL device pointer were annotated as being owned by root0 instead of being unowned. Switch to a different value for root0's sentinel to avoid the clash.
Since this is an ABI change, bump the SHLIB_MAJOR for libdevinfo to 7.
Reported by: jrtc27 Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D48675
show more ...
|
| #
1d386b48
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
| #
4d846d26
|
| 10-May-2023 |
Warner Losh <imp@FreeBSD.org> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
show more ...
|
| #
440cec3f
|
| 12-Aug-2020 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: Rubicon Communications, LLC (netgate.com)
|
| #
e383ec74
|
| 06-Aug-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r363739 through r363986.
|
| #
32592d86
|
| 04-Aug-2020 |
Eric van Gyzen <vangyzen@FreeBSD.org> |
devinfo: fix memory leak on error paths
Refactor to create devinfo_free_dev(). Call it to plug a memory leak on two error paths in devinfo_init_devices().
Reported by: Coverity MFC after: 2 weeks
devinfo: fix memory leak on error paths
Refactor to create devinfo_free_dev(). Call it to plug a memory leak on two error paths in devinfo_init_devices().
Reported by: Coverity MFC after: 2 weeks Sponsored by: Dell EMC Isilon
show more ...
|
| #
cf72c10f
|
| 31-May-2018 |
Warner Losh <imp@FreeBSD.org> |
Update to device enumeration protocol 2
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 Re
Update to device enumeration protocol 2
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
show more ...
|
| #
92376fa7
|
| 31-May-2018 |
Warner Losh <imp@FreeBSD.org> |
Sanity check the return from the kernel.
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 Revisi
Sanity check the return from the kernel.
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
show more ...
|
| #
51a9cfbf
|
| 30-May-2018 |
Warner Losh <imp@FreeBSD.org> |
There's no meaningful errno when there's a version mismatch, so use warnx. Also, report the mis-matched versions.
|
| #
54b4b13c
|
| 24-Dec-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r326936 through r327149.
|
| #
41ec95c4
|
| 21-Dec-2017 |
Warner Losh <imp@FreeBSD.org> |
Bump number that's an insane number of devices from 1,000 to 10,000. I 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 th
Bump number that's an insane number of devices from 1,000 to 10,000. I 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
show more ...
|
| #
5e53a4f9
|
| 26-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
lib: further adoption of SPDX licensing ID tags.
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 pr
lib: further adoption of SPDX licensing ID tags.
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.
show more ...
|
| #
cf72c10f
|
| 31-May-2018 |
Warner Losh <imp@FreeBSD.org> |
Update to device enumeration protocol 2
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 Re
Update to device enumeration protocol 2
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
show more ...
|
| #
92376fa7
|
| 31-May-2018 |
Warner Losh <imp@FreeBSD.org> |
Sanity check the return from the kernel.
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 Revisi
Sanity check the return from the kernel.
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
show more ...
|
| #
51a9cfbf
|
| 30-May-2018 |
Warner Losh <imp@FreeBSD.org> |
There's no meaningful errno when there's a version mismatch, so use warnx. Also, report the mis-matched versions.
|
| #
54b4b13c
|
| 24-Dec-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r326936 through r327149.
|
| #
41ec95c4
|
| 21-Dec-2017 |
Warner Losh <imp@FreeBSD.org> |
Bump number that's an insane number of devices from 1,000 to 10,000. I 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 th
Bump number that's an insane number of devices from 1,000 to 10,000. I 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
show more ...
|
| #
5e53a4f9
|
| 26-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
lib: further adoption of SPDX licensing ID tags.
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 pr
lib: further adoption of SPDX licensing ID tags.
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.
show more ...
|
| #
60cd5863
|
| 17-Jul-2006 |
Stefan Farfeleder <stefanf@FreeBSD.org> |
Make the variadic macro debug() comply to C99.
|