zfs/lib
Brian Behlendorf 2c7549fb6f Fix `zpool create -o <property>` error message
When `zpool create -o <property>` is run without root permissions
and the pool property requested is not specifically enumerated in
zpool_valid_proplist().  Then an incorrect error message referring
to an invalid property is printed rather than the expected permission
denied error.

Specifying a pool property at create time should be handled the same
way as filesystem properties in zfs_valid_proplist().  There should
not be default zfs_error_aux() set for properties which are not
listed.

Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Reviewed-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #9550
Closes #9568
2020-01-22 13:49:04 -08:00
..
libavl Support -fsanitize=address with --enable-asan 2018-01-10 10:49:27 -08:00
libefi Fix typos in lib/ 2020-01-22 13:48:59 -08:00
libicp Add support for selecting encryption backend 2018-08-02 11:59:24 -07:00
libnvpair Use correct format string when printing int8 2020-01-22 13:49:03 -08:00
libshare Modify sharenfs=on default behavior 2020-01-22 13:49:03 -08:00
libspl Fix typos in lib/ 2020-01-22 13:48:59 -08:00
libtpool Fix typos in lib/ 2020-01-22 13:48:59 -08:00
libunicode Support -fsanitize=address with --enable-asan 2018-01-10 10:49:27 -08:00
libuutil Update build system and packaging 2018-05-29 16:00:33 -07:00
libzfs Fix `zpool create -o <property>` error message 2020-01-22 13:49:04 -08:00
libzfs_core Use ZFS_DEV macro instead of literals 2019-09-25 11:27:48 -07:00
libzpool OpenZFS 9425 - channel programs can be interrupted 2020-01-22 13:48:56 -08:00
libzutil Implement ZPOOL_IMPORT_UDEV_TIMEOUT_MS 2020-01-22 13:49:03 -08:00
Makefile.am Add libzutil for libzfs or libzpool consumers 2018-11-05 11:22:33 -08:00