Bug 219209 - Add missing EMFILE errno value in shmat(2) man page.
Summary: Add missing EMFILE errno value in shmat(2) man page.
Status: New
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2017-05-11 05:02 UTC by Yuri Victorovich
Modified: 2018-04-11 21:23 UTC (History)
1 user (show)

See Also:


Attachments
patch (396 bytes, patch)
2017-05-11 05:02 UTC, Yuri Victorovich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer 2017-05-11 05:02:36 UTC
Created attachment 182500 [details]
patch

kern/sysv_shm.c explicitly returns EMFILE:

>        if (i >= shminfo.shmseg)
>                return (EMFILE);
Comment 1 commit-hook freebsd_committer 2018-01-26 08:39:00 UTC
A commit references this bug:

Author: maxim
Date: Fri Jan 26 08:38:26 UTC 2018
New revision: 328433
URL: https://svnweb.freebsd.org/changeset/base/328433

Log:
  o EMFILE errno documented.

  PR:		219209
  Submitted by:	yuri (with minor adjustment)
  Reviewed by:	brooks

Changes:
  head/lib/libc/sys/shmat.2