summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1998-07-28 00:12:56 +0000
committermillert <millert@openbsd.org>1998-07-28 00:12:56 +0000
commit9b355cb2ae160e0b4c6c4c9a8414b8249bb78ff3 (patch)
treee0cd989e8cf5bda0a1cfe0485a421226590f4e9c /lib/libc/sys
parentoops, remove bugus trailing spaces (diff)
downloadwireguard-openbsd-9b355cb2ae160e0b4c6c4c9a8414b8249bb78ff3.tar.xz
wireguard-openbsd-9b355cb2ae160e0b4c6c4c9a8414b8249bb78ff3.zip
Return EINVAL when msg_iovlen or iovcnt <= 0; Make uio_resid unsigned (size_t) and don't return EINVAL if it is < 0 in sys_{read,write}. Remove check for uio_resid < 0 uiomove() now that uio_resid is unsigned and brack remaining panics with #ifdef DIAGNOSTIC. vn_rdwr() must now take a size_t * as its 9th argument so change that and clean up uses of vn_rdwr(). Fixes 549 + more
Diffstat (limited to 'lib/libc/sys')
0 files changed, 0 insertions, 0 deletions