HomeFreeBSD

Fix zfs_ioc_pool_sync should not use fnvlist

Description

Fix zfs_ioc_pool_sync should not use fnvlist

Use fnvlist on user input would allow user to easily panic zfs.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Alek Pinchuk <apinchuk@datto.com>
Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
Closes #6529

Details

Provenance
Chunwei Chen <tuxoko@gmail.com>Authored on Aug 21 2017, 8:11 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Aug 21 2017, 8:11 PM
Parents
rG551905dd475c: vdev_mirror: kstat observables for preferred vdev
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG05f85a6a64e9: Fix zfs_ioc_pool_sync should not use fnvlist (authored by Chunwei Chen <tuxoko@gmail.com>).Aug 21 2017, 8:11 PM