From owner-freebsd-standards@FreeBSD.ORG Mon Sep 25 06:00:50 2006 Return-Path: X-Original-To: freebsd-standards@hub.freebsd.org Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CC0C16A4D8 for ; Mon, 25 Sep 2006 06:00:50 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F57743D58 for ; Mon, 25 Sep 2006 06:00:49 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k8P60n8l061309 for ; Mon, 25 Sep 2006 06:00:49 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k8P60njX061308; Mon, 25 Sep 2006 06:00:49 GMT (envelope-from gnats) Date: Mon, 25 Sep 2006 06:00:49 GMT Message-Id: <200609250600.k8P60njX061308@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org From: Roman Bogorodskiy Cc: Subject: Re: standards/99926: [Patch] [sh(1)'s jobs] POSIX compliancy by adding -p switch X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Roman Bogorodskiy List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Sep 2006 06:00:50 -0000 The following reply was made to PR standards/99926; it has been noted by GNATS. From: Roman Bogorodskiy To: Ed Schouten Cc: bug-followup@FreeBSD.org, Maxim Konovalov Subject: Re: standards/99926: [Patch] [sh(1)'s jobs] POSIX compliancy by adding -p switch Date: Sun, 24 Sep 2006 09:58:11 +0000 --TiqCXmo5T1hvSQQg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Ed Schouten wrote: > * Roman Bogorodskiy wrote: > > IMHO, this patch is wrong. You just print the actual PID of the process, > > not the PID of the group leader. > >=20 > > I have a simular patch, which however prints PID of the group obtained > > with getpgid() for the appropriate process: > >=20 > > http://people.freebsd.org/~novel/patches/freebsd/src_bin_sh_jobs_p.diff >=20 > It prints the PID of the first process, which is the process group > leader. Hm, sorry, I missed that part of the patch. However I wasn't able to find out if the PID of the first process in group is the process group leader in the docs. Is there any difference between getpgrp() and first PID of the group? Roman Bogorodskiy --TiqCXmo5T1hvSQQg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iQCVAwUBRRZWs4B0WzgdqspGAQLzXwP+J+7hL8dxduCg8IxTYsql7ZjPUdSdgZ8J IpkA2NaKMmsm3vBB4bkHNxjuyDMPP3L3kNNEfiQOLEWF7PJ58lwhqlcMlxZYSW+t 0jq918v682f6d7tTpDoxDhnNwN9AU33+yAhgPonlg/eo0mGJ+FvUzW8l8LUbsewn i9whWLpDhSw= =lIRb -----END PGP SIGNATURE----- --TiqCXmo5T1hvSQQg-- From owner-freebsd-standards@FreeBSD.ORG Mon Sep 25 07:20:34 2006 Return-Path: X-Original-To: freebsd-standards@hub.freebsd.org Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 206E916A589 for ; Mon, 25 Sep 2006 07:20:34 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 143A443D64 for ; Mon, 25 Sep 2006 07:20:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k8P7KRs0067224 for ; Mon, 25 Sep 2006 07:20:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k8P7KRf0067223; Mon, 25 Sep 2006 07:20:27 GMT (envelope-from gnats) Date: Mon, 25 Sep 2006 07:20:27 GMT Message-Id: <200609250720.k8P7KRf0067223@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org From: Ed Schouten Cc: Subject: Re: standards/99926: [Patch] [sh(1)'s jobs] POSIX compliancy by adding -p switch X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ed Schouten List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Sep 2006 07:20:34 -0000 The following reply was made to PR standards/99926; it has been noted by GNATS. From: Ed Schouten To: Roman Bogorodskiy Cc: bug-followup@FreeBSD.org, Maxim Konovalov Subject: Re: standards/99926: [Patch] [sh(1)'s jobs] POSIX compliancy by adding -p switch Date: Mon, 25 Sep 2006 09:15:03 +0200 --FhHtzeYSSYv4Pwk7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Roman Bogorodskiy wrote: > > * Roman Bogorodskiy wrote: > > > IMHO, this patch is wrong. You just print the actual PID of the proce= ss, > > > not the PID of the group leader. > > >=20 > > > I have a simular patch, which however prints PID of the group obtained > > > with getpgid() for the appropriate process: > > >=20 > > > http://people.freebsd.org/~novel/patches/freebsd/src_bin_sh_jobs_p.di= ff > >=20 > > It prints the PID of the first process, which is the process group > > leader. >=20 > Hm, sorry, I missed that part of the patch. However I wasn't able to > find out if the PID of the first process in group is the process group > leader in the docs. Is there any difference between getpgrp() and first > PID of the group? No, process groups are identified by the process ID of the group leader. --=20 Ed Schouten WWW: http://g-rave.nl/ --FhHtzeYSSYv4Pwk7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFF4H252SDGA2eCwURAhN3AJ9ZkChu/MlZYqjaTynjbqbXgp/xNACfYWIX eW3S72rWkQdjynK9KcrhgAA= =iqPR -----END PGP SIGNATURE----- --FhHtzeYSSYv4Pwk7-- From owner-freebsd-standards@FreeBSD.ORG Mon Sep 25 11:08:48 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 592B416A53B for ; Mon, 25 Sep 2006 11:08:48 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8979943D72 for ; Mon, 25 Sep 2006 11:08:34 +0000 (GMT) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k8PB8YpF090709 for ; Mon, 25 Sep 2006 11:08:34 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k8PB8XG5090705 for freebsd-standards@FreeBSD.org; Mon, 25 Sep 2006 11:08:33 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 25 Sep 2006 11:08:33 GMT Message-Id: <200609251108.k8PB8XG5090705@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-standards@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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: Mon, 25 Sep 2006 11:08:48 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/25542 standards /bin/sh: null char in quoted string o kern/46239 standards posix semaphore implementation errors o stand/54410 standards one-true-awk not POSIX compliant (no extended REs) o stand/82654 standards C99 long double math functions are missing o stand/94729 standards fcntl() throws undocumented ENOTTY 5 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/21519 standards sys/dir.h should be deprecated some more o bin/24390 standards Replacing old dir-symlinks when using /bin/ln s stand/24590 standards timezone function not compatible witn Single Unix Spec s kern/28260 standards UIO_MAXIOV needs to be made public s stand/36076 standards Implementation of POSIX fuser command s stand/37843 standards manual for pthread_setschedparam(3) is wrong o stand/39256 standards snprintf/vsnprintf aren't POSIX-conformant for strings p stand/41576 standards POSIX compliance of ln(1) o stand/44425 standards getcwd() succeeds even if current dir has perm 000. o stand/46119 standards Priority problems for SCHED_OTHER using pthreads o stand/54833 standards [pcvt] more pcvt deficits o stand/54839 standards [pcvt] pcvt deficits p stand/55112 standards glob.h, glob_t's gl_pathc should be "size_t", not "int o stand/56476 standards cd9660 unicode support simple hack o stand/58676 standards grantpt(3) alters storage used by ptsname(3) s stand/62858 standards malloc(0) not C99 compliant s kern/64875 standards [libc] [patch] [feature request] add a system call: fd o stand/66357 standards make POSIX conformance problem ('sh -e' & '+' command- o stand/66531 standards _gettemp uses a far smaller set of filenames than docu o stand/70813 standards [PATCH] ls(1) not Posix compliant o stand/72006 standards floating point formating in non-C locales o stand/79056 standards regex(3) regression tests a stand/80293 standards sysconf() does not support well-defined unistd values o stand/81287 standards [PATCH]: fingerd(8) might send a line not ending in CR o stand/83845 standards [libm] [patch] add log2() and log2f() support for libm o stand/85080 standards output of long double subnormals (with printf) is wron o stand/92360 standards [headers] [patch] Missing TAB3 in kernel headers o stand/92362 standards [headers] [patch] Missing SIGPOLL in kernel headers o kern/93705 standards [headers] [patch] ENODATA and EGREGIOUS (for glibc com o stand/96016 standards clock_getres et al should be in o stand/96236 standards [PATCH] [POSIX] sed.1 incorrectly describes a function o stand/99517 standards Missing SIGRTMIN and SIGRTMAX signals o stand/99926 standards [Patch] [sh(1)'s jobs] POSIX compliancy by adding -p s o stand/99960 standards [Patch] [make] Add -p flag o stand/100017 standards [Patch] Add fuser(1) functionality to fstat(1) 35 problems total.