Date: Tue, 17 Oct 2017 02:52:03 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 196666] write(2) maximum I/O size too small / inadequately documented in man page Message-ID: <bug-196666-8-wMj9RaUuzZ@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-196666-8@https.bugs.freebsd.org/bugzilla/> References: <bug-196666-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D196666 --- Comment #3 from commit-hook@freebsd.org --- A commit references this bug: Author: emaste Date: Tue Oct 17 02:51:46 UTC 2017 New revision: 324683 URL: https://svnweb.freebsd.org/changeset/base/324683 Log: write.2: correct maximum nbytes size for EINVAL error In FreeBSD 11 and later debug.iosize_max_clamp defaults to 0, and the maximum nbytes count for write(2) is SSIZE_MAX. Update the man page to document this, and mention the sysctl that can be set to obtain the previous behaviour. PR: 196666 MFC after: 1 week Sponsored by: The FreeBSD Foundation Changes: head/lib/libc/sys/write.2 head/lib/libstand/ --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196666-8-wMj9RaUuzZ>