From owner-freebsd-current Tue Feb 26 22:44:37 2002 Delivered-To: freebsd-current@freebsd.org Received: from TYO201.gate.nec.co.jp (TYO201.gate.nec.co.jp [202.32.8.214]) by hub.freebsd.org (Postfix) with ESMTP id 6460337B402 for ; Tue, 26 Feb 2002 22:44:33 -0800 (PST) Received: from mailgate4.nec.co.jp ([10.7.69.195]) by TYO201.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id g1R6iTX22121 for ; Wed, 27 Feb 2002 15:44:29 +0900 (JST) Received: from mailsv4.nec.co.jp (mailgate51.nec.co.jp [10.7.69.190]) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id g1R6iRY00918 for ; Wed, 27 Feb 2002 15:44:27 +0900 (JST) Received: from sdlpc374.ulsys.lsi.nec.co.jp ([10.30.82.50]) by mailsv4.nec.co.jp (8.11.6/3.7W-MAILSV4-NEC) with ESMTP id g1R6iOB18485 for ; Wed, 27 Feb 2002 15:44:24 +0900 (JST) Received: from sdlpc374.ulsys.lsi.nec.co.jp (sdlpc374.ulsys.lsi.nec.co.jp [::ffff:10.30.82.50]) by sdlpc374.ulsys.lsi.nec.co.jp with esmtp; Wed, 27 Feb 2002 15:44:23 +0900 Date: Wed, 27 Feb 2002 15:44:23 +0900 Message-ID: From: HIROSHI OOTA To: current@freebsd.org Subject: setpgrp(1, 1) does not FAIL User-Agent: Wanderlust/2.2.18 (Please Forgive Me) REMI/1.14.1 (=?ISO-8859-4?Q?Mushigawa=F2sugi?=) FLIM/1.13.2 (Kasanui) APEL/10.2 Emacs/20.6 (i386-unknown-freebsdelf4.0) MULE/4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Hello, The following will succeed in non privilege user. I think it should fail. main() { printf("%d\n", setpgrp(1, 1)); } -- HIROSHI OOTA oota@LSi.nec.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message