Bug 200649

Summary: setsockopt() may return errno ENOBUFS
Product: Documentation Reporter: heas
Component: Manual PagesAssignee: Sergey Kandaurov <pluknet>
Status: Closed FIXED    
Severity: Affects Some People CC: doc, pluknet
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

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 freebsd_triage 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 freebsd_triage 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