From owner-freebsd-current Thu Feb 28 3:14:57 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 749A637B400 for ; Thu, 28 Feb 2002 03:14:53 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id WAA22782; Thu, 28 Feb 2002 22:14:23 +1100 Date: Thu, 28 Feb 2002 22:14:56 +1100 (EST) From: Bruce Evans X-X-Sender: To: Seigo Tanimura Cc: Takanori Saneto , Subject: Re: setpgrp(1, 1) does not FAIL In-Reply-To: <200202271703.g1RH2xwo042796@silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp> Message-ID: <20020228220337.V52334-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 28 Feb 2002, Seigo Tanimura wrote: > On Thu, 28 Feb 2002 01:39:11 +0900, > Takanori Saneto said: > > Takanori> Can you look into PR kern/29844 as well? > Takanori> I think after your fix, it should fail even when invoked by super > Takanori> user. > > The superuser fails as well. setpgrp() is the same as setpgid() in FreeBSD, and the POSIX.1-200x-draft7 documentation for setpgid() doesn't seem to have any special cases for the superuser, so I think the documentation change in the PR is correct. POSIX now has setpgrp(), but it is quite different from setpgid() :-(. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message