Bug 219209 - Add missing EMFILE errno value in shmat(2) man page.
Summary: Add missing EMFILE errno value in shmat(2) man page.
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2017-05-11 05:02 UTC by Yuri Victorovich
Modified: 2021-10-13 04:38 UTC (History)
2 users (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 freebsd_triage 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 freebsd_triage 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
Comment 2 Felix Johnson freebsd_triage 2021-10-13 02:58:50 UTC
If this was committed in 2018, can we close this PR?