summaryrefslogtreecommitdiff
path: root/lib/libc/sys/read.2
AgeCommit message (Collapse)Author
1998-08-17Xr pollTheo de Raadt
1998-08-05IOV_MAX, not UIO_MAXIOVTodd C. Miller
1998-07-28For read, write, send, sendto, recv, recvfrom return EINVAL is size arg > ↵Todd C. Miller
SSIZE_MAX. For readv, writev, sendmsg, recvmsg return EINVAL if sum of the over iov_len values overflows an ssize_t. Based on what XPG 4.2 says (though XPG is not entirely consistent here). Basically since the return value is ssize_t allowing size > SSIZE_MAX is bad since people who (incorrectly mind you) check the return value for < 0 instead of == -1 will have bad things happen to them.
1998-07-28Don't talk about the sum of the iov_len being negative since iov_len is ↵Todd C. Miller
unsigned.
1998-07-06fix openbsd tagTheo de Raadt
1996-12-13make UIO_MAXIOV note more prominentmichaels
1995-10-18initial import of NetBSD treeTheo de Raadt