Date: Thu, 28 Feb 2002 02:02:58 +0900 From: Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp> To: Takanori Saneto <sanewo@ba2.so-net.ne.jp> Cc: Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp>, current@freebsd.org Subject: Re: setpgrp(1, 1) does not FAIL Message-ID: <200202271703.g1RH2xwo042796@silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp> In-Reply-To: <200202271639.g1RGdBBH075193@muse.sanewo.dyn.to> References: <cwu1s3qv94.wl@sdlpc374.ulsys.lsi.nec.co.jp> <200202271041.g1RAf5Vh080359@rina.r.dl.itc.u-tokyo.ac.jp> <200202271639.g1RGdBBH075193@muse.sanewo.dyn.to>
next in thread | previous in thread | raw e-mail | index | archive | help
[Please write in us-ascii]
On Thu, 28 Feb 2002 01:39:11 +0900,
Takanori Saneto <sanewo@ba2.so-net.ne.jp> 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 <tanimura@r.dl.itc.u-tokyo.ac.jp> wrote:
>> 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?200202271703.g1RH2xwo042796>
