Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2002 19:41:04 +0900
From:      Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp>
To:        HIROSHI OOTA <oota@LSi.nec.co.jp>
Cc:        current@freebsd.org, Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp>
Subject:   Re: setpgrp(1, 1) does not FAIL
Message-ID:  <200202271041.g1RAf5Vh080359@rina.r.dl.itc.u-tokyo.ac.jp>
In-Reply-To: <cwu1s3qv94.wl@sdlpc374.ulsys.lsi.nec.co.jp>
References:  <cwu1s3qv94.wl@sdlpc374.ulsys.lsi.nec.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 27 Feb 2002 15:44:23 +0900,
  HIROSHI OOTA <oota@LSi.nec.co.jp> 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 <tanimura@r.dl.itc.u-tokyo.ac.jp> <tanimura@FreeBSD.org>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202271041.g1RAf5Vh080359>