freebsd-src/lib/libnv
Reid Linnemann 000321bab7 namespace nv names, version libnv and libnvpair library symbols
libnv and libnvpair have aliased symbols, and as a result a single process which
dlopens a shared object that is dynamically linked to libnv and another to
libnvpair will wind up with a single set of resolved symbols for those in
conflict. A source file also cannot include both libnv and libnvpair headers
because of aliased identifiers. To resolve the situation, libnv types and
functions are namespaced via nv_namespace.h, and libnv symbols are
versioned. The msgio functions are not namespaced or exported as they are not
part of the external API.

Reviewed by:	kevans
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D35261
2022-07-21 18:35:23 +02:00
..
tests skip test case nvlist_send_recv__send_many_fds__dgram 2022-01-02 12:26:07 -09:00
common_impl.h Ensure that libnv can be used when kern.trap_enotcap=1. 2018-11-13 20:07:55 +00:00
Makefile namespace nv names, version libnv and libnvpair library symbols 2022-07-21 18:35:23 +02:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
msgio.c libnv: let nvlist_recv() pass flags to recv() 2021-12-06 09:54:55 -09:00
msgio.h libnv: let nvlist_recv() pass flags to recv() 2021-12-06 09:54:55 -09:00
Version.map namespace nv names, version libnv and libnvpair library symbols 2022-07-21 18:35:23 +02:00