[Bug 196666] write(2) maximum I/O size too small / inadequately documented in man page

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 17 02:52:03 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196666

--- Comment #3 from commit-hook at 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/

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list