shmat(2) EMFILE patch
maxim at freebsd.org
maxim at freebsd.org
Thu Jan 25 16:29:07 UTC 2018
Hello,
Anyone can check my diff (incl. English)?
It is for https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219209
Index: shmat.2
===================================================================
--- shmat.2 (revision 328399)
+++ shmat.2 (working copy)
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd August 2, 1995
+.Dd January 25, 2018
.Dt SHMAT 2
.Os
.Sh NAME
@@ -104,6 +104,11 @@ The
.Fa addr
argument
was not an acceptable address.
+.It Bq Er EMFILE
+Failed to attach the shared memory segment because the per-process
+.Va kern.ipc.shmseg
+.Xr sysctl 3
+limit has reached.
.El
.Pp
The
%%%
Thanks!
Maxim
--
Maxim Konovalov
More information about the freebsd-doc
mailing list