freebsd-dev/sys/cddl/contrib/opensolaris/uts/common
Martin Matuska 83b4af1142 ZFS expects a copyout of zfs_cmd_t on an ioctl error. Our sys_ioctl()
doesn't copyout in this case.

To solve this issue a new struct zfs_iocparm_t is introduced consisting of:
- zfs_ioctl_version (future backwards compatibility purposes)
- user space pointer to zfs_cmd_t (copyin and copyout)
- size of zfs_cmd_t (verification purposes)

The copyin and copyout of zfs_cmd_t is now done the illumos (vendor) way
what makes porting of new changes easier and ensures correct behavior if
returning an error.

MFC after:	10 days
2013-04-09 22:27:44 +00:00
..
ctf This commit was generated by cvs2svn to compensate for changes in r179193, 2008-05-22 07:04:10 +00:00
dtrace Dtrace: enablings on defunct providers prevent providers from unregistering 2013-04-01 19:13:46 +00:00
fs ZFS expects a copyout of zfs_cmd_t on an ioctl error. Our sys_ioctl() 2013-04-09 22:27:44 +00:00
os Finally... Import the latest open-source ZFS version - (SPA) 28. 2011-02-27 19:41:40 +00:00
sys Dtrace: enablings on defunct providers prevent providers from unregistering 2013-04-01 19:13:46 +00:00
zmod - rename atomic.S and crc32.c to avoid collisions when linking zfs in to the kernel 2009-05-09 01:45:55 +00:00
Makefile.files MFV r247580: 2013-03-19 12:51:18 +00:00