summaryrefslogtreecommitdiff
path: root/sys/external/bsd/libnv/dist
AgeCommit message (Collapse)Author
2019-07-24Adapt for userland compilationmartin
2019-07-24off by 1sevan
2019-07-24need sys/kmem.h for kmem_free()sevan
2019-07-24PR kern/54406: the result of vasprintf (in the kernel) should be freedmartin
by kmem_free(). Spotted by Mindaugas.
2019-07-23- nvpair_create_stringf: use the in-kernel vasprintf().rmind
- Make nvlist_add_stringf() availabe in the kernel.
2019-02-15nvpair_remove_nvlist_array: revert part of the rev 1.4 change (it was appliedrmind
by mistake because the libnv upsteam code on Github has deviated from FreeBSD, i.e. it has a different nvlist_set_array_next() logic).
2019-02-12libnv: Free the data array for NV_TYPE_DESCRIPTOR_ARRAY case.rmind
Obtained from FreeBSD rev 343987 by oshogbo@.
2019-02-12libnv: fix multiple memory leaks.rmind
- nvpair_create_stringv: free the temporary string; this fix affects nvlist_add_stringf() and nvlist_add_stringv(). - nvpair_remove_nvlist_array (NV_TYPE_NVLIST_ARRAY case): free the chain of nvpairs (as resetting it prevents nvlist_destroy() from freeing it). Note: freeing the chain in nvlist_destroy() is not sufficient, because it would still leak through nvlist_take_nvlist_array(). This affects all nvlist_*_nvlist_array() users. Found by clang/gcc ASAN. These fixes have been contributed to the upstream (FreeBSD) repository.
2018-10-16fix the shit, as usualmaxv
2018-09-23nvlist_copyin: fix the flag handling.rmind
2018-09-23libnv: add a wrapper around free(9) since in FreeBSD it can take NULL.rmind
2018-09-22libnv: fix some NetBSD wrappers.rmind
2018-09-11add dead...christos
2018-09-08fix kernel build.christos
2018-09-08FIx userland buildchristos
2018-09-08Add NetBSD stuff.christos
2018-09-08Import libnv from FreeBSDchristos