From owner-freebsd-current Wed Feb 27 9: 3:42 2002 Delivered-To: freebsd-current@freebsd.org Received: from rina.r.dl.itc.u-tokyo.ac.jp (cvsup2.r.dl.itc.u-tokyo.ac.jp [133.11.199.247]) by hub.freebsd.org (Postfix) with ESMTP id E37CB37B417 for ; Wed, 27 Feb 2002 09:03:36 -0800 (PST) Received: from silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp (silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp [IPv6:3ffe:b80:5b0:3:280:c8ff:fe6b:6d73]) by rina.r.dl.itc.u-tokyo.ac.jp (8.12.2/3.7W-rina.r-Nankai-Koya) with ESMTP id g1RH3V0j025020 ; Thu, 28 Feb 2002 02:03:33 +0900 (JST) Received: from silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp (localhost [127.0.0.1]) by silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp (8.12.2/3.7W-carrots-Keikyu-Kurihama) with ESMTP id g1RH2xwo042796 ; Thu, 28 Feb 2002 02:03:21 +0900 (JST) Message-Id: <200202271703.g1RH2xwo042796@silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp> Date: Thu, 28 Feb 2002 02:02:58 +0900 From: Seigo Tanimura To: Takanori Saneto Cc: Seigo Tanimura , current@freebsd.org Subject: Re: setpgrp(1, 1) does not FAIL In-Reply-To: <200202271639.g1RGdBBH075193@muse.sanewo.dyn.to> References: <200202271041.g1RAf5Vh080359@rina.r.dl.itc.u-tokyo.ac.jp> <200202271639.g1RGdBBH075193@muse.sanewo.dyn.to> User-Agent: Wanderlust/2.8.1 (Something) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-1?Q?Unebigory=F2mae?=) APEL/10.3 MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) Organization: Digital Library Research Division, Information Techinology Centre, The University of Tokyo MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") 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 [Please write in us-ascii] 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. Takanori> In article <200202271041.g1RAf5Vh080359@rina.r.dl.itc.u-tokyo.ac.jp>, Takanori> Seigo Tanimura wrote: >> On Wed, 27 Feb 2002 15:44:23 +0900, >> HIROSHI OOTA said: oota> The following will succeed in non privilege user. oota> I think it should fail. oota> main() oota> { oota> printf("%d\n", setpgrp(1, 1)); oota> } >> Fixed in rev 1.138 of kern/kern_prot.c, thanks! -- Seigo Tanimura To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message