Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 May 2010 22:00:13 GMT
From:      Bruce Cran <bruce@cran.org.uk>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/147226: read(fd, buffer, len) returns -1 immediately, if len &gt;=2147483648
Message-ID:  <201005302200.o4UM0DHJ019643@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/147226; it has been noted by GNATS.

From: Bruce Cran <bruce@cran.org.uk>
To: bug-followup@FreeBSD.org, eugene.kharitonov@gmail.com
Cc:  
Subject: Re: kern/147226: read(fd, buffer, len) returns -1 immediately,  if
 len &gt;=2147483648
Date: Sun, 30 May 2010 22:51:51 +0100

 According to read(2), EINVAL is returned if the nbytes parameter is
 more than INT_MAX; that is, it appears to specifically disallow reading
 more than 2GB in a single call.
 
 -- 
 Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005302200.o4UM0DHJ019643>