1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/sys/cddl/contrib/opensolaris
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
..
common Add OpenSolaris atomics for powerpc64 and connect ZFS to the build on 2010-07-17 13:34:01 +00:00
uts Validate whether the zfs_cmd_t submitted from userland is not smaller than 2010-11-05 22:18:09 +00:00
OPENSOLARIS.LICENSE