freebsd-src/lib/libnv
Mark Johnston 07cf2bb693 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
2019-07-16 16:28:50 +00:00
..
tests Convert the nvlist send/recv tests to ATF. 2019-07-16 16:25:27 +00:00
common_impl.h Ensure that libnv can be used when kern.trap_enotcap=1. 2018-11-13 20:07:55 +00:00
Makefile libnv: Remove -I${SRCTOP}/sys 2018-08-09 20:29:44 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
msgio.c Use a platform-independent constant for PKG_MAX_SIZE. 2019-07-16 16:28:50 +00:00
msgio.h lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00