Bug 200649 - setsockopt() may return errno ENOBUFS
Summary: setsockopt() may return errno ENOBUFS
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Sergey Kandaurov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-04 22:11 UTC by heas
Modified: 2019-03-06 11:07 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description heas 2015-06-04 22:11:37 UTC
appears that setsockopt() may return errno ENOBUFS, but the manpage does not indicate so.

http://pubs.opengroup.org/onlinepubs/009695399/functions/setsockopt.html

fbsd 10.1
Comment 1 commit-hook freebsd_committer 2019-02-09 21:34:31 UTC
A commit references this bug:

Author: pluknet
Date: Sat Feb  9 21:33:32 UTC 2019
New revision: 343945
URL: https://svnweb.freebsd.org/changeset/base/343945

Log:
  Document the ENOBUFS errno in setsockopt(2).

  In particular, it is the case if SO_SNDBUF/SO_RCVBUF would exceed sb_max_adj.

  PR:		200649
  MFC after:	1 week

Changes:
  head/lib/libc/sys/getsockopt.2
Comment 2 commit-hook freebsd_committer 2019-02-20 11:56:59 UTC
A commit references this bug:

Author: pluknet
Date: Wed Feb 20 11:56:30 UTC 2019
New revision: 344357
URL: https://svnweb.freebsd.org/changeset/base/344357

Log:
  MFC r343945:
  Document the ENOBUFS errno in setsockopt(2).

  PR:		200649

Changes:
_U  stable/12/
  stable/12/lib/libc/sys/getsockopt.2