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)
Mon, Sep 14, 7:25 AM
Unknown Object (File)
Fri, Sep 11, 12:54 PM
Unknown Object (File)
Wed, Sep 9, 7:27 PM
Unknown Object (File)
Tue, Sep 8, 4:22 PM
Unknown Object (File)
Fri, Sep 4, 6:32 PM
Unknown Object (File)
Fri, Sep 4, 6:37 AM
Unknown Object (File)
Fri, Sep 4, 1:10 AM
Unknown Object (File)
Thu, Sep 3, 4:48 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 45632
Build 42520: arc lint + arc unit