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)
Sun, Jun 23, 12:56 PM
Unknown Object (File)
Sun, Jun 16, 6:16 PM
Unknown Object (File)
Fri, Jun 7, 5:15 AM
Unknown Object (File)
Mon, Jun 3, 12:50 PM
Unknown Object (File)
Mon, May 27, 11:40 AM
Unknown Object (File)
Jan 29 2024, 3:06 PM
Unknown Object (File)
Jan 14 2024, 8:59 AM
Unknown Object (File)
Dec 26 2023, 5:46 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 45632
Build 42520: arc lint + arc unit