HomeFreeBSD

libzfs: return (allocated) strings instead of filling buffers

Description

libzfs: return (allocated) strings instead of filling buffers

This also expands the zfs version output from 127 characters to However
Many Are Actually Set

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13330

Details

Provenance
наб <nabijaczleweli@nabijaczleweli.xyz>Authored on Apr 14 2022, 10:00 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on May 18 2022, 7:52 PM
Parents
rG38f4d99f769e: linux: libzfs: simplify module-loaded check
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG2b4f2fc93c42: libzfs: return (allocated) strings instead of filling buffers (authored by наб <nabijaczleweli@nabijaczleweli.xyz>).May 18 2022, 7:52 PM