svn commit: r285539 - head/sys/compat/cloudabi64
Jilles Tjoelker
jilles at stack.nl
Fri Jul 17 11:41:57 UTC 2015
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
More information about the svn-src-head
mailing list