RLIMIT_FORK

看板DFBSD_submit作者時間21年前 (2004/05/28 05:02), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
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/
文章代碼(AID): #10jbTt00 (DFBSD_submit)
文章代碼(AID): #10jbTt00 (DFBSD_submit)