Patch zfs_ioctl.c.  This one will certainly need more work due to
its number of Linux-isms and other later Illumos changes such as
feature flags, etc. it has received.