Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Mar 2012 14:02:27 +0200
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Ed Schouten <ed@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r233002 - head/lib/libc/sys
Message-ID:  <20120315120227.GR75778@deviant.kiev.zoral.com.ua>
In-Reply-To: <201203151149.q2FBnQtT064103@svn.freebsd.org>
References:  <201203151149.q2FBnQtT064103@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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