From owner-freebsd-security Tue Oct 2 2:20:23 2001 Delivered-To: freebsd-security@freebsd.org Received: from ringworld.nanolink.com (straylight.ringlet.net [217.75.134.254]) by hub.freebsd.org (Postfix) with SMTP id A401437B40B for ; Tue, 2 Oct 2001 02:20:00 -0700 (PDT) Received: (qmail 6197 invoked by uid 1000); 2 Oct 2001 09:08:31 -0000 Date: Tue, 2 Oct 2001 12:08:31 +0300 From: Peter Pentchev To: D J Hawkey Jr Cc: ck@cksoft.de, freebsd-security@freebsd.org Subject: Re: login.conf & FreeBSD 4.4 Message-ID: <20011002120831.A704@ringworld.oblivion.bg> Mail-Followup-To: D J Hawkey Jr , ck@cksoft.de, freebsd-security@freebsd.org References: <004701c14b0c$ce44f140$45e03ac3_skif.net@ns.sol.net> <200110020907.f9297d695258@sheol.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200110020907.f9297d695258@sheol.localdomain>; from hawkeyd@visi.com on Tue, Oct 02, 2001 at 04:07:39AM -0500 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Oct 02, 2001 at 04:07:39AM -0500, D J Hawkey Jr wrote: > In article , > ck@cksoft.de writes: > > > > If you are talking about cgi scripts run by apache you might want to > > patch suexec to do this. There is nothgin in apache that would normally > > set the requested privilidges. > > > > we added following to apache-x-x-x/src/support/suexec.c to actually > > enforce setting of resource limits. There is nothing in apache that would > > normally set these up for you. > > > > [SNIP] > > Reading between the lines, are you saying that any app "not from FreeBSD" > running on FreeBSD isn't likely to be accounted for because they pro'lly > don't set up limiting resources (by way of the C function you hacked in)? Exactly. It has to call setusercontext(3) or some other of the functions listed in the setclasscontext(3) manual page. G'luck, Peter -- I am not the subject of this sentence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message