HomeFreeBSD

libzfs_core: Initialize fail_ioc_cmd to ZFS_IOC_LAST

Description

libzfs_core: Initialize fail_ioc_cmd to ZFS_IOC_LAST

FreeBSD numbers ZFS_IOC_* starting at 0, so pick a different
sentinel value to avoid unintentionally messing with
ZFS_IOC_POOL_CREATE ioctls.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <freqlabs@FreeBSD.org>
Closes #10729

Details

Provenance
freqlabsAuthored on Aug 19 2020, 1:07 AM
GitHub <noreply@github.com>Committed on Aug 19 2020, 1:07 AM
Parents
rG716b53d0a14c: FreeBSD: Fix UNIX permissions checking
Branches
Unknown
Tags
Unknown