From owner-freebsd-standards@FreeBSD.ORG Sat Jul 8 20:33:57 2006 Return-Path: X-Original-To: freebsd-standards@freebsd.org Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 694E516A4DA for ; Sat, 8 Jul 2006 20:33:57 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [83.98.131.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1175C43D46 for ; Sat, 8 Jul 2006 20:33:57 +0000 (GMT) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id E8B2317264; Sat, 8 Jul 2006 22:33:55 +0200 (CEST) Date: Sat, 8 Jul 2006 22:33:55 +0200 From: Ed Schouten To: FreeBSD Standards Message-ID: <20060708203355.GO83179@hoeg.nl> References: <20060708125628.GN83179@hoeg.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="L/bWm/e7/ricERqM" Content-Disposition: inline In-Reply-To: <20060708125628.GN83179@hoeg.nl> User-Agent: Mutt/1.5.11 Subject: Re: [Patch] jobs -p X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jul 2006 20:33:57 -0000 --L/bWm/e7/ricERqM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, * Ed Schouten wrote: > I wrote a small patch[2] that adds the -p flag to the jobs utility, by > limiting the output to one process and running getpgid() on the pid. >=20 > According to various sources, getpgid() returns the process group ID, > which is also the process group leader. Can anyone confirm this? After reading some more documentation and kernel source code, I found the answer to the question. I did some small cleanup fixes and added a small patch for the manual page as well. I also filed a problem report; standards/99926: http://www.freebsd.org/cgi/query-pr.cgi?pr=3D99926 Yours, --=20 Ed Schouten WWW: http://g-rave.nl/ --L/bWm/e7/ricERqM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFEsBaz52SDGA2eCwURAnQcAJ48zYF0cEHabqlF8j82w+zcd3KKXgCeNI1k ktLbOJoX+IC6AJ1BP2GCP/Q= =eRLi -----END PGP SIGNATURE----- --L/bWm/e7/ricERqM--