freebsd-nq/sys/cddl
Xin LI b97a9057c2 Validate whether the zfs_cmd_t submitted from userland is not smaller than
what we have.  Without the check the kernel could accessing memory that
does not belong to the request struct.

Note that we do not test if the struct equals in size at this time, which
may faciliate forward compatibility with newer binaries.

Reviewed by:	pjd at MeetBSD CA '2010
MFC after:	1 week
2010-11-05 22:18:09 +00:00
..
boot/zfs Forgot to commit this file. Add ZPOOL_CONFIG_IS_LOG. 2010-09-10 04:44:13 +00:00
compat/opensolaris Pass a format string to panic() and to taskqueue_start_threads(). 2010-10-13 17:13:43 +00:00
contrib/opensolaris Validate whether the zfs_cmd_t submitted from userland is not smaller than 2010-11-05 22:18:09 +00:00
dev Make the /dev/dtrace/helper node have the mode 0660. This allows 2010-09-01 12:08:32 +00:00