I wasn't properly checking for rollover in iovec_copyin(). Remove code
authorDavid P. Reese, Jr. <daver@dragonflybsd.org>
Wed, 15 Oct 2003 08:43:37 +0000 (08:43 +0000)
committerDavid P. Reese, Jr. <daver@dragonflybsd.org>
Wed, 15 Oct 2003 08:43:37 +0000 (08:43 +0000)
commit0bbfa91b8dc424d0015acc710064478dae4ca5e4
tree8e039a3db3df4819fa84f223a4d61f4a75c232cd
parentdda4b42bde949546240049caa910a0441cfdb981
I wasn't properly checking for rollover in iovec_copyin().  Remove code
that ineffectively checks for rollover by checking if a size_t was ever
less than zero (duh).

Add the proper error checking to kern_sendmsg() and kern_recvmsg() which
recieve a uio structure that was populated with the aid of iovec_copyin().
sys/kern/kern_subr.c
sys/kern/uipc_syscalls.c