freebsd-skq/cddl/contrib/opensolaris
mm 6cbe43292e 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
..
cmd MFV r249185: 2013-04-06 17:18:48 +00:00
common MFV OpenSolaris DTrace userland bits. 2010-08-02 13:40:53 +00:00
head thr_create: new_thread_ID may be NULL 2011-10-21 13:54:58 +00:00
lib ZFS expects a copyout of zfs_cmd_t on an ioctl error. Our sys_ioctl() 2013-04-09 22:27:44 +00:00
tools/ctf Follow up to r247960 and rr247960 by also amending ctfmerge. For the 2013-04-01 21:16:32 +00:00
OPENSOLARIS.LICENSE