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
F106828958: D35255.diff
Mon, Jan 6, 2:08 AM
Unknown Object (File)
Dec 3 2024, 9:52 AM
Unknown Object (File)
Nov 30 2024, 2:48 AM
Unknown Object (File)
Nov 7 2024, 5:35 AM
Unknown Object (File)
Nov 7 2024, 2:37 AM
Unknown Object (File)
Nov 3 2024, 3:04 AM
Unknown Object (File)
Oct 3 2024, 11:49 AM
Unknown Object (File)
Oct 2 2024, 6:53 PM
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