From owner-svn-src-head@FreeBSD.ORG Thu Mar 15 12:02:35 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4FC7C1065673; Thu, 15 Mar 2012 12:02:35 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id B2F5F8FC1F; Thu, 15 Mar 2012 12:02:34 +0000 (UTC) Received: from skuns.kiev.zoral.com.ua (localhost [127.0.0.1]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q2FC2SGu016896; Thu, 15 Mar 2012 14:02:28 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5) with ESMTP id q2FC2Rk8005388; Thu, 15 Mar 2012 14:02:27 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5/Submit) id q2FC2RaO005387; Thu, 15 Mar 2012 14:02:27 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 15 Mar 2012 14:02:27 +0200 From: Konstantin Belousov To: Ed Schouten Message-ID: <20120315120227.GR75778@deviant.kiev.zoral.com.ua> References: <201203151149.q2FBnQtT064103@svn.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LR2EcLYOpZJmaxL8" Content-Disposition: inline In-Reply-To: <201203151149.q2FBnQtT064103@svn.freebsd.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r233002 - head/lib/libc/sys X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2012 12:02:35 -0000 --LR2EcLYOpZJmaxL8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 15, 2012 at 11:49:26AM +0000, Ed Schouten wrote: > Author: ed > Date: Thu Mar 15 11:49:26 2012 > New Revision: 233002 > URL: http://svn.freebsd.org/changeset/base/233002 >=20 > Log: > Remove impossible error condition from the man page. > =20 > On FreeBSD, all processes have a process group, so it is impossible for > kill(2) to fail this way. POSIX also doesn't mention this error > condition. > =20 > Discussed on: arch@ > MFC after: 3 weeks >=20 > Modified: > head/lib/libc/sys/kill.2 >=20 > Modified: head/lib/libc/sys/kill.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=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/lib/libc/sys/kill.2 Thu Mar 15 11:06:37 2012 (r233001) > +++ head/lib/libc/sys/kill.2 Thu Mar 15 11:49:26 2012 (r233002) > @@ -28,7 +28,7 @@ > .\" @(#)kill.2 8.3 (Berkeley) 4/19/94 > .\" $FreeBSD$ > .\" > -.Dd March 10, 2012 > +.Dd March 15, 2012 > .Dt KILL 2 > .Os > .Sh NAME > @@ -123,9 +123,6 @@ is not a valid signal number. > .It Bq Er ESRCH > No process can be found corresponding to that specified by > .Fa pid . > -.It Bq Er ESRCH > -The process id was given as 0 > -but the sending process does not have a process group. > .It Bq Er EPERM > The sending process is not the super-user and its effective > user id does not match the effective user-id of the receiving process. As I mentioned in the thread on list, removal of ESRCH from the list of err= ors is wrong. --LR2EcLYOpZJmaxL8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAk9h2lMACgkQC3+MBN1Mb4ghkQCeM1fMGC8wNyR4kZDwOBrxf5HG R/AAoKk4U0kOCJZMLZ3lG+VgFbqWuU1W =AfNn -----END PGP SIGNATURE----- --LR2EcLYOpZJmaxL8--