freebsd-dev/cddl
Pawel Jakub Dawidek 4f1f4356f3 Fix 'zfs allow' (maybe not only) returning:
cannot access dataset system/usr/home: Operation not supported

by including libzfs_impl.h. What libzfs_impl.h does is to redefine ioctl() to
be compatible with OpenSolaris. More specifically OpenSolaris returns ENOMEM
when buffer is too small and sets field zc_nvlist_dst_size to the size that
will be big enough for the data. In FreeBSD case ioctl() doesn't copy data
structure back in case of a failure. We work-around it in kernel and libzfs by
returning 0 from ioctl() and always checking if zc_nvlist_dst_size hasn't
changed. For this work-around to work in pyzfs we need this compatible ioctl()
which is implemented in libzfs_impl.h.

MFC after:	2 weeks
2010-08-29 20:18:06 +00:00
..
compat/opensolaris Merge ZFS version 15 and almost all OpenSolaris bugfixes referenced 2010-07-12 23:49:04 +00:00
contrib Fix 'zfs allow' (maybe not only) returning: 2010-08-29 20:18:06 +00:00
lib MFtbemd: 2010-08-23 22:24:11 +00:00
sbin Remove manual .includes in cddl Makefiles 2010-03-02 19:04:07 +00:00
usr.bin Add man pages for the CTF tools. 2010-08-11 18:00:45 +00:00
usr.sbin Install dtruss. 2010-08-26 11:46:38 +00:00
Makefile Apply a set of style.Makefile(5) changes to src/cddl/ makefiles. 2007-04-16 21:20:26 +00:00
Makefile.inc Remove manual .includes in cddl Makefiles 2010-03-02 19:04:07 +00:00