read.2: Describe debug.iosize_max_clamp

same as it is done for write.2.

PR:	276937
Reported by:	bugs.freebsd.org@masklinn.net
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2024-02-10 11:40:07 +02:00
parent 62d47d73b7
commit 3e9515846f

View file

@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd June 4, 2020
.Dd February 10, 2024
.Dt READ 2
.Os
.Sh NAME
@ -220,7 +220,12 @@ for this file system.
The value
.Fa nbytes
is greater than
.Dv INT_MAX .
.Dv SSIZE_MAX
(or greater than
.Dv INT_MAX ,
if the sysctl
.Va debug.iosize_max_clamp
is non-zero).
.El
.Pp
In addition,
@ -246,7 +251,13 @@ The sum of the
.Fa iov_len
values in the
.Fa iov
array overflowed a 32-bit integer.
array is greater than
.Dv SSIZE_MAX
(or greater than
.Dv INT_MAX ,
if the sysctl
.Va debug.iosize_max_clamp
is non-zero).
.It Bq Er EFAULT
Part of the
.Fa iov