[REVIEW] patch for copyout on ioctl error
Martin Matuska
mm at FreeBSD.org
Wed Apr 10 06:19:56 UTC 2013
Some time ago I have written a compatibility layer for FreeBSD for this
purpose that translates and/or modifies necessary parts.
This way we support non-matching kernel and utilities, with full
backwards compatibility (new kernel, old utility) and to some degree
forward compatibility (old kernel, new utility). So everytime the
interface changes in an incompatible way I have to update this layer :-)
Cheers,
mm
On 10.4.2013 2:49, Matthew Ahrens wrote:
> On Sun, Apr 7, 2013 at 12:29 PM, Martin Matuska <mm at freebsd.org
> <mailto:mm at freebsd.org>> wrote:
>
> zfs_ioctl_version is for future purposes to make it
> easier for the kernel to identify ioctl changes.
>
>
> Is this so that you can support old libzfs.so binaries with a new
> kernel module? Or to detect and fail if an old libzfs is used? FYI,
> in illumos we require that libzfs and the kernel be matched (likewise
> with other libraries, e.g. libc). So you will need to update the
> ioctl version # when merging changes from illumos.
>
> --matt
--
Martin Matuska
FreeBSD committer
http://blog.vx.sk
More information about the zfs-devel
mailing list