Re: svn commit: r285539 - head/sys/compat/cloudabi64

2015-07-20 Thread Ed Schouten
Hi Jilles, 2015-07-17 13:41 GMT+02:00 Jilles Tjoelker : > 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. That's a good

Re: svn commit: r285539 - head/sys/compat/cloudabi64

2015-07-17 Thread Jilles Tjoelker
On Tue, Jul 14, 2015 at 02:33:21PM +, 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()

svn commit: r285539 - head/sys/compat/cloudabi64

2015-07-14 Thread Ed Schouten
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 int