ab7f9b938f
iov_len. (check_iovec_for_write): Ditto. * fhandler.h (fhandler_base::readv): New method. (fhandler_base::writev): Ditto. * fhandler.cc (fhandler_base::readv): New method. (fhandler_base::writev): Ditto. * syscalls.cc (_read): Delegate to readv(2). (_write): Ditto, mutatis mutandi. (readv): Rewrite, based on the old _read code, to use the new fhandler_base::readv method. Improve access mode handling and ensure all calls reach the final strace statement. (writev): Ditto, mutatis mutandi. * include/sys/uio.h (struct iovec): Change field types to match SUSv3. * winsup.h (check_iovec_for_read): New function. (check_iovec_for_write): Ditto. * miscfuncs.cc (check_iovec_for_read): Ditto. (check_iovec_for_write): Ditto. |
||
---|---|---|
.. | ||
acl.h | ||
cdefs.h | ||
copying.dj | ||
cygwin.h | ||
file.h | ||
ioctl.h | ||
mman.h | ||
mount.h | ||
mtio.h | ||
poll.h | ||
procfs.h | ||
resource.h | ||
select.h | ||
smallprint.h | ||
socket.h | ||
soundcard.h | ||
statfs.h | ||
strace.h | ||
syslog.h | ||
sysmacros.h | ||
termio.h | ||
termios.h | ||
ttychars.h | ||
uio.h | ||
un.h | ||
utsname.h | ||
vfs.h | ||
wait.h |