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) |
||
---|---|---|
.. | ||
dnv_tests.cc | ||
Makefile | ||
nv_tests.cc | ||
nvlist_add_test.c | ||
nvlist_exists_test.c | ||
nvlist_free_test.c | ||
nvlist_get_test.c | ||
nvlist_move_test.c | ||
nvlist_send_recv_test.c |