From owner-freebsd-doc@freebsd.org Thu Jan 25 17:21:46 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 8962EEC0C20 for ; Thu, 25 Jan 2018 17:21:46 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 323E787A26 for ; Thu, 25 Jan 2018 17:21:46 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by freefall.freebsd.org (Postfix) id 2A578121A; Thu, 25 Jan 2018 17:21:46 +0000 (UTC) Delivered-To: docs@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (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 2566C1219; Thu, 25 Jan 2018 17:21:46 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (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 E00FE87A24; Thu, 25 Jan 2018 17:21:45 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id E9DBB5A9F12; Thu, 25 Jan 2018 17:21:38 +0000 (UTC) Date: Thu, 25 Jan 2018 17:21:38 +0000 From: Brooks Davis To: maxim@freebsd.org Cc: docs@freebsd.org Subject: Re: shmat(2) EMFILE patch Message-ID: <20180125172138.GA19299@spindle.one-eyed-alien.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5mCyUwZo2JvN/JJP" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) 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: Thu, 25 Jan 2018 17:21:46 -0000 --5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 25, 2018 at 07:13:36PM +0300, maxim@freebsd.org wrote: > Hello, >=20 > Anyone can check my diff (incl. English)? >=20 > It is for https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219209 >=20 > Index: shmat.2 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- 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. -- Brooks --5mCyUwZo2JvN/JJP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJaahIhAAoJEKzQXbSebgfAJrAH/1ysSiKTU99W0BAw+eojdywD sZJVuTCVEYDGS48RnOpzr6+V6lqKQKXo0CTGTLd4GJ6ANbA26Ymlnd5dpLeAgJWp bvukFDqvUjuIqp2Mwwf+qaxP+JTwhZQdIx2lqWRKIGdqVUngAqPTbaJC+Figbqhj lENpUTPlLE8XTvh1vXj2rS69VV9MnNd4Fss9AcqxSr59FuedmqGxi5uy5KgMvujf EVWRKTLARiENHCzwQDq7netMJH9BYbxtCszDqLkB3NmDgjIL/UG1U9OxYHJShqWZ gYdxE/YPi1YRP7BliyrniYAOtJf9Bd4WfDLJ8za0YzY+4S0wLbHt13uDJaXQ2W4= =v/Dt -----END PGP SIGNATURE----- --5mCyUwZo2JvN/JJP--