>Number: 5260 >Category: suexec >Synopsis: suexec'd scripts don't honour cputime limit >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Fri Nov 5 06:30:01 PST 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.9 >Environment: FreeBSD-3.3-RELEASE, apache-1.3.9 >Description: In the operating system I use (FreeBSD), there is possibility to restrict user programs from consuming too much cpu time. It can be accomplished by setting 'cputime' variable in /etc/login.conf. But if suexec runs program as a particular user, this program can consume unlimited cpu resources, regardless what is written in /etc/login.conf >How-To-Repeat:
>Fix: get current settings from login.conf and call setrlimit just after suexec starts. >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include <[EMAIL PROTECTED]> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]