|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0 |
|
| #
1d386b48 |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
| #
4d846d26 |
| 10-May-2023 |
Warner Losh <[email protected]> |
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 ...
|
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0 |
|
| #
db158b99 |
| 06-Dec-2021 |
Robert Wing <[email protected]> |
libnv: let nvlist_recv() pass flags to recv()
Differential Revision: https://reviews.freebsd.org/D32721
|
|
Revision tags: release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0 |
|
| #
07cf2bb6 |
| 16-Jul-2019 |
Mark Johnston <[email protected]> |
Use a platform-independent constant for PKG_MAX_SIZE.
This constant determines the number of rights libnv will attempt to transmit in a given control message. In practice, the upper limit defined b
Use a platform-independent constant for PKG_MAX_SIZE.
This constant determines the number of rights libnv will attempt to transmit in a given control message. In practice, the upper limit defined by the kernel is machine-dependent and is smaller on 64-bit kernels than on 32-bit kernels. To ensure that a 32-bit libnv works as expected when run on a 64-bit kernel, use a limit that will work on both 32-bit and 64-bit kernels.
PR: 238511 Discussed with: oshogbo MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D20942
show more ...
|
|
Revision tags: release/11.3.0 |
|
| #
3810ba1b |
| 15-Apr-2019 |
Mariusz Zaborski <[email protected]> |
libnv: add support for nvlist_send()/nvlist_recv() on Linux
This may be useful for cross build in the feature.
Submitted by: Mindaugas Rasiukevicius <[email protected]> MFC after: 2 weeks
|
| #
032f0fbb |
| 14-Dec-2018 |
Alex Richardson <[email protected]> |
Allow bootstrapping libnv on macOS and Linux
MacOS/Linux do not define struct cmsgcred but we need to bootstrap libnv when building on non-FreeBSD systems. Since they are not used during bootstrap w
Allow bootstrapping libnv on macOS and Linux
MacOS/Linux do not define struct cmsgcred but we need to bootstrap libnv when building on non-FreeBSD systems. Since they are not used during bootstrap we can just omit these two functions there.
Reviewed By: emaste Differential Revision: https://reviews.freebsd.org/D18472
show more ...
|
|
Revision tags: release/12.0.0 |
|
| #
991666ad |
| 13-Nov-2018 |
Mark Johnston <[email protected]> |
Ensure that libnv can be used when kern.trap_enotcap=1.
libnv used fcntl(fd, F_GETFL) to test whether fd is a valid file descriptor. Aside from being racy, this check requires CAP_FCNTL rights on f
Ensure that libnv can be used when kern.trap_enotcap=1.
libnv used fcntl(fd, F_GETFL) to test whether fd is a valid file descriptor. Aside from being racy, this check requires CAP_FCNTL rights on fd. Instead, use fcntl(fd, F_GETFD), which does not require any capability rights.
Also remove some redundant fd_is_valid() checks to avoid extra system calls; in many cases we were performing this check immediately before dup()ing the descriptor.
Reviewed by: cem, oshogbo (previous version) MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D17963
show more ...
|
|
Revision tags: release/11.2.0 |
|
| #
5e53a4f9 |
| 26-Nov-2017 |
Pedro F. Giffuni <[email protected]> |
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 ...
|
|
Revision tags: release/10.4.0 |
|
| #
08016b31 |
| 21-Sep-2017 |
Mariusz Zaborski <[email protected]> |
Remove redundant initialization. Don't use variable - just return the value. Make scan-build happy by casting to 'void *' instead of 'void **'.
Submitted by: pjd@ MFC after: 1 month Found by: scan-b
Remove redundant initialization. Don't use variable - just return the value. Make scan-build happy by casting to 'void *' instead of 'void **'.
Submitted by: pjd@ MFC after: 1 month Found by: scan-build and cppcheck Sponsored by: Wheel Systems
show more ...
|
|
Revision tags: release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0 |
|
| #
586c5854 |
| 14-Sep-2014 |
Pawel Jakub Dawidek <[email protected]> |
Remove the limit on descriptors that can be send in one nvlist.
Submitted by: Mariusz Zaborski
|
|
Revision tags: release/9.3.0 |
|
| #
3d34ecea |
| 02-Feb-2014 |
Pawel Jakub Dawidek <[email protected]> |
Assert input arguments to buf_send() and buf_recv().
Submitted by: Mariusz Zaborski <[email protected]>
|
| #
7f7fe890 |
| 02-Feb-2014 |
Pawel Jakub Dawidek <[email protected]> |
Fix sending empty nvlist.
Submitted by: Mariusz Zaborski <[email protected]>
|
|
Revision tags: release/10.0.0 |
|
| #
518eeaee |
| 15-Dec-2013 |
Pawel Jakub Dawidek <[email protected]> |
MFp4 @1189139:
Get rid of the msg_peek() function, which has a problem. If there was less data in the socket buffer than requested by the caller, the function would busy loop, as select(2) will alw
MFp4 @1189139:
Get rid of the msg_peek() function, which has a problem. If there was less data in the socket buffer than requested by the caller, the function would busy loop, as select(2) will always return immediately.
We can just receive nvlhdr now, because some time ago we splitted receive of data from the receive of descriptors.
MFC after: 1 week
show more ...
|
| #
36da5199 |
| 12-Nov-2013 |
Pawel Jakub Dawidek <[email protected]> |
Bring in libnv library for managing name/value pairs. The following types are currently supported:
- NV_TYPE_NULL - only name, no data; - NV_TYPE_BOOL - boolean (true or false); - NV_TYPE_NUMBER - 6
Bring in libnv library for managing name/value pairs. The following types are currently supported:
- NV_TYPE_NULL - only name, no data; - NV_TYPE_BOOL - boolean (true or false); - NV_TYPE_NUMBER - 64bit unsigned integer; - NV_TYPE_STRING - C string; - NV_TYPE_NVLIST - nested nvlist; - NV_TYPE_DESCRIPTOR - file descriptor; - NV_TYPE_BINARY - binary data.
For detailed documentation and examples see nv(3) manual page.
Sponsored by: The FreeBSD Foundation
show more ...
|