zfs/lib/libzfsbootenv
Richard Yao d1807f168e nvpair: Constify string functions
After addressing coverity complaints involving `nvpair_name()`, the
compiler started complaining about dropping const. This lead to a rabbit
hole where not only `nvpair_name()` needed to be constified, but also
`nvpair_value_string()`, `fnvpair_value_string()` and a few other static
functions, plus variable pointers throughout the code. The result became
a fairly big change, so it has been split out into its own patch.

Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Closes #14612
2023-03-14 15:25:50 -07:00
..
.gitignore zfs label bootenv should store data as nvlist 2020-09-15 15:42:27 -07:00
Makefile.am Replace EXTRA_DIST with dist_noinst_DATA 2022-05-26 09:24:50 -07:00
libzfsbootenv.abi nvpair: Constify string functions 2023-03-14 15:25:50 -07:00
libzfsbootenv.pc.in libzfsbootenv: do not depend on libnvpair 2020-11-22 15:16:42 -08:00
libzfsbootenv.suppr Library ABI tracking with abigail 2020-11-17 09:18:52 -08:00
lzbe_device.c nvpair: Constify string functions 2023-03-14 15:25:50 -07:00
lzbe_pair.c Add `const` to nvlist functions to properly expose their real behavior 2021-12-06 18:19:13 -07:00
lzbe_util.c zfs label bootenv should store data as nvlist 2020-09-15 15:42:27 -07:00