Date: Thu, 28 Feb 2002 01:39:11 +0900 From: Takanori Saneto <sanewo@ba2.so-net.ne.jp> To: Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp> Cc: Takanori Saneto <sanewo@ba2.so-net.ne.jp> Subject: Re: setpgrp(1, 1) does not FAIL Message-ID: <200202271639.g1RGdBBH075193@muse.sanewo.dyn.to> In-Reply-To: <200202271041.g1RAf5Vh080359@rina.r.dl.itc.u-tokyo.ac.jp> (Seigo Tanimura's message of "Wed, 27 Feb 2002 19:41:04 %2B0900") References: <cwu1s3qv94.wl@sdlpc374.ulsys.lsi.nec.co.jp> <200202271041.g1RAf5Vh080359@rina.r.dl.itc.u-tokyo.ac.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
Can you look into PR kern/29844 as well? I think after your fix, it should fail even when invoked by super user. Regards, In article <200202271041.g1RAf5Vh080359@rina.r.dl.itc.u-tokyo.ac.jp>, 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! -- $B$5$M$r(B (SANETO Takanori) // [$B<qL#(B] $BK\6H$r$9$k$3$H(B // $B!&!&!&!&!&!&!&!&!&!&!&!&!&!&!&!&!&(B // Bonjour Chapeau // <URL:mailto:sanewo@ba2.so-net.ne.jp> // [$BK\6H(B] $B<qL#$KAv$k$3$H(B // 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?200202271639.g1RGdBBH075193>