#
303975 |
|
11-Aug-2016 |
gjb |
Copy stable/11@r303970 to releng/11.0 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, and rename it to RC1.
Update __FreeBSD_version.
Use the quarterly branch for the default FreeBSD.conf pkg(8) repo and the dvd1.iso packages population.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
302408 |
|
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
287232 |
|
28-Aug-2015 |
markj |
nv.h lives in sys/ as of r279439.
|
#
286796 |
|
15-Aug-2015 |
oshogbo |
Add support for the arrays in nvlist library.
- Add nvlist_{add,get,take,move,exists,free}_{number,bool,string,nvlist, descriptor} functions. - Add support for (un)packing arrays. - Add the nvl_array_next field to the nvlist structure. If an array is added by the nvlist_{move,add}_nvlist_array function this field will contains next element in the array. - Add the nitems field to the nvpair and nvpair_header structure. This field contains number of elements in the array. - Add special flag (NV_FLAG_IN_ARRAY) which is set if nvlist is a part of an array. - Add special type (NV_TYPE_NVLIST_ARRAY_NEXT).This type is used only on packing/unpacking. - Add new API for traversing arrays (nvlist_get_array_next). - Add the nvlist_get_pararr function which combines the nvlist_get_array_next and nvlist_get_parent functions. If nvlist is in the array it will return next element from array. If nvlist is last element in array or it isn't in array it will return his container (parent). This function should simplify traveling over nvlist. - Add tests for new features. - Add documentation for new functions. - Add my copyright. - Regenerate the sys/cddl/compat/opensolaris/sys/nvpair.h file.
PR: 191083 Reviewed by: allanjude (doc) Approved by: pjd (mentor)
|
#
286642 |
|
11-Aug-2015 |
oshogbo |
Make the nvlist_next(9) function handle NULL pointer variable. This simplifies removing the first element from nvlist.
Reviewed by: AllanJude Approved by: pjd (mentor)
|
#
285460 |
|
13-Jul-2015 |
brueffer |
Markup fixes.
|
#
285129 |
|
04-Jul-2015 |
oshogbo |
Move nvlist documentation to the FreeBSD Kernel Developer's sections.
Approved by: pjd (mentor)
|
#
282347 |
|
02-May-2015 |
oshogbo |
Introduce the NV_FLAG_NO_UNIQUE flag. When set, it allows to store multiple values using the same key in a nvlist.
Approved by: pjd (mentor) Obtained from: WHEEL Systems (http://www.wheelsystems.com)
Update man page.
Reviewed by: AllanJude Approved by: pjd (mentor)
|
#
282346 |
|
02-May-2015 |
oshogbo |
Approved, oprócz użycie RESTORE_ERRNO() do ustawiania errno.
Change the nvlist_recv() function to take additional argument that specifies flags expected on the received nvlist. Receiving a nvlist with different set of flags than the ones we expect might lead to undefined behaviour, which might be potentially dangerous.
Update consumers of this and related functions and update the tests.
Approved by: pjd (mentor)
Update man page for nvlist_unpack, nvlist_recv, nvlist_xfer, cap_recv_nvlist and cap_xfer_nvlist.
Reviewed by: AllanJude Approved by: pjd (mentor)
|
#
282312 |
|
01-May-2015 |
oshogbo |
Add nvlist_flags() function, which returns nvlist's public flags.
Approved by: pjd (mentor)
|
#
279434 |
|
01-Mar-2015 |
rstone |
Add function to force an nvlist into the error state
Add an nvlist_set_error() function that can be used to force an nvlist into the error state. This is useful both for writing tests and for writing APIs that use nvlists internally.
Differential Revision: https://reviews.freebsd.org/D1878 Reviewed by: pjd, jfv MFC After: 1 month Sponsored by: Sandvine Inc.
|
#
277921 |
|
30-Jan-2015 |
pjd |
Modify nvlist_get_parent() API to take additional cookie argument. This allow for non-recursive iteration over nested nvlists, as in documented example.
Submitted by: Mariusz Zaborski <oshogbo@FreeBSD.org>
|
#
272102 |
|
25-Sep-2014 |
pjd |
Document the new nvlist_get_parent() function.
Submitted by: Mariusz Zaborski
|
#
267773 |
|
23-Jun-2014 |
bapt |
use .Mt to mark up email addresses consistently (part3)
PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de>
|
#
266351 |
|
17-May-2014 |
rstone |
Correct a typo.
MFC after: 1 week
|
#
263479 |
|
21-Mar-2014 |
bdrewery |
nv(3) was not in 10.0.
It might be MFC'd to stable/10 for 10.1, but for now update the manual to avoid confusion on its availability.
Discussed with: pjd
|
#
258065 |
|
12-Nov-2013 |
pjd |
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
|