Page MenuHomeFreeBSD

libsa: Make the nvlist implementation more self-contained
ClosedPublic

Authored by markj on May 19 2022, 4:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jul 8, 12:12 AM
Unknown Object (File)
Tue, Jul 7, 9:52 PM
Unknown Object (File)
Jun 16 2026, 1:35 PM
Unknown Object (File)
Jun 15 2026, 5:15 PM
Unknown Object (File)
Jun 15 2026, 9:17 AM
Unknown Object (File)
Jun 10 2026, 9:20 PM
Unknown Object (File)
May 24 2026, 5:31 PM
Unknown Object (File)
Apr 21 2026, 9:11 AM
Subscribers

Details

Summary

This makes the nvlist code easier to reuse elsewhere. In particular,
the implementation in sys/contrib/libnv does not provide XDR encoding,
but this is needed when reading from or writing to ZFS pools.

Also:

  • Remove references to boolean_t. It has to be a 32-bit int here, so just reference the underlying type.
  • Add includes needed when compiling the nvlist code outside of stand/.

No functional change intended.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable