From owner-freebsd-current Wed Feb 27 2:41:13 2002 Delivered-To: freebsd-current@freebsd.org Received: from rina.r.dl.itc.u-tokyo.ac.jp (rina.r.dl.itc.u-tokyo.ac.jp [133.11.199.247]) by hub.freebsd.org (Postfix) with ESMTP id 3F4DE37B41C for ; Wed, 27 Feb 2002 02:41:08 -0800 (PST) Received: from rina.r.dl.itc.u-tokyo.ac.jp (localhost [127.0.0.1]) by rina.r.dl.itc.u-tokyo.ac.jp (8.12.2/3.7W-rina.r-Nankai-Koya) with ESMTP id g1RAf5Vh080359 ; Wed, 27 Feb 2002 19:41:06 +0900 (JST) Message-Id: <200202271041.g1RAf5Vh080359@rina.r.dl.itc.u-tokyo.ac.jp> Date: Wed, 27 Feb 2002 19:41:04 +0900 From: Seigo Tanimura To: HIROSHI OOTA Cc: current@freebsd.org, Seigo Tanimura Subject: Re: setpgrp(1, 1) does not FAIL In-Reply-To: References: 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 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