From owner-freebsd-doc@freebsd.org Fri Jan 26 08:30:33 2018 Return-Path: Delivered-To: freebsd-doc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 46B8AEC9772 for ; Fri, 26 Jan 2018 08:30:33 +0000 (UTC) (envelope-from maxim.konovalov@gmail.com) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E587B68FB7 for ; Fri, 26 Jan 2018 08:30:32 +0000 (UTC) (envelope-from maxim.konovalov@gmail.com) Received: by freefall.freebsd.org (Postfix) id DB7F5EACC; Fri, 26 Jan 2018 08:30:32 +0000 (UTC) Delivered-To: docs@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id D87AFEACB; Fri, 26 Jan 2018 08:30:32 +0000 (UTC) (envelope-from maxim.konovalov@gmail.com) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 861EB68FB6; Fri, 26 Jan 2018 08:30:32 +0000 (UTC) (envelope-from maxim.konovalov@gmail.com) Received: from localhost (localhost [127.0.0.1]) by mp2.macomnet.net (8.15.2/8.15.2) with ESMTP id w0Q8UTRf063208; Fri, 26 Jan 2018 11:30:29 +0300 (MSK) (envelope-from maxim.konovalov@gmail.com) Date: Fri, 26 Jan 2018 11:30:29 +0300 (MSK) From: Maxim Konovalov To: Brooks Davis cc: docs@freebsd.org Subject: Re: shmat(2) EMFILE patch In-Reply-To: <20180125172138.GA19299@spindle.one-eyed-alien.net> Message-ID: References: <20180125172138.GA19299@spindle.one-eyed-alien.net> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jan 2018 08:30:33 -0000 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