On Tue, Jul 14, 2015 at 02:33:21PM +0000, Ed Schouten wrote: > Author: ed > Date: Tue Jul 14 14:33:21 2015 > New Revision: 285539 > URL: https://svnweb.freebsd.org/changeset/base/285539
> Log: > Implement {,p}{read,write}{,v}(). > Add a routine similar to copyinuio() and freebsd32_copyinuio() that > copies in CloudABI's struct iovecs. These are then translated into > FreeBSD format and placed in a 'struct uio', so we can call into the > kern_*() functions. > [snip] > + if (iovcnt > UIO_MAXIOV) > + return (EINVAL); The maximum number of iovecs is part of the ABI and should therefore probably have a CLOUDABI_* constant. It turns out that both FreeBSD and Linux report 1024 for getconf IOV_MAX, so there is little practical effect. -- Jilles Tjoelker _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"