DragonFly BSD
DragonFly submit List (threaded) for 2004-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

RLIMIT_FORK


From: Andre Nathan <andre@xxxxxxxxxxxxxxx>
Date: Thu, 27 May 2004 09:32:55 -0300

Hello

The patch set at [1] adds a new rlimit constant, RLIMIT_FORK, which can
be used to limit the depth of the process tree having the process where
setrlimit() was called as its root.

The motivation for this patch is described at [2] but in a few words,
the idea is to avoid evil custormers forking their perl/php scripts on a
webhosting environment.

The patch set also includes changes to sh, csh and login, so that this
programs can use the new resource limit (via ulimit, limit or
login.conf, respectively), as well as man page changes.

Do you guys think this would be a nice feature to have on DragonFly?

Best regards,
Andre

[1]http://andre.people.digirati.com.br/bsd/dragonfly/patches/forkdepth/
[2]http://oss.digirati.com.br/fkdepth/




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]