Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jan 2018 11:30:29 +0300 (MSK)
From:      Maxim Konovalov <maxim.konovalov@gmail.com>
To:        Brooks Davis <brooks@freebsd.org>
Cc:        docs@freebsd.org
Subject:   Re: shmat(2) EMFILE patch
Message-ID:  <alpine.BSF.2.20.1801261128470.29265@mp2.macomnet.net>
In-Reply-To: <20180125172138.GA19299@spindle.one-eyed-alien.net>
References:  <alpine.BSF.2.20.1801251911480.29265@mp2.macomnet.net> <20180125172138.GA19299@spindle.one-eyed-alien.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 25 Jan 2018, 17:21-0000, Brooks Davis wrote:

> On Thu, Jan 25, 2018 at 07:13:36PM +0300, maxim@freebsd.org wrote:
> > 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.
>
> s/has/was/ or perhaps "has been", but limits the condition many no
> longer be true so "was" is probably better.
>
OK.  Thanks, Brooks.

-- 
Maxim Konovalov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1801261128470.29265>