Back out r386644 it was wrong

This commit is contained in:
Baptiste Daroussin 2015-05-17 22:13:20 +00:00
parent 59bae6b9d8
commit ef2db094fa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386645
2 changed files with 1 additions and 14 deletions

View file

@ -2,7 +2,7 @@
PORTNAME= kcgi
PORTVERSION= 0.5.8
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www devel
MASTER_SITES= http://kristaps.bsd.lv/kcgi/snapshots/

View file

@ -1,13 +0,0 @@
--- sandbox-capsicum.c.orig 2015-05-17 21:02:13 UTC
+++ sandbox-capsicum.c
@@ -55,9 +55,7 @@ ksandbox_capsicum_init_child(void *arg,
rl_zero.rlim_cur = rl_zero.rlim_max = 0;
if (-1 == setrlimit(RLIMIT_NOFILE, &rl_zero))
- XWARNX("setrlimit: rlimit_fsize");
- if (-1 == setrlimit(RLIMIT_FSIZE, &rl_zero))
- XWARNX("setrlimit: rlimit_fsize");
+ XWARNX("setrlimit: rlimit_nofile");
if (-1 == setrlimit(RLIMIT_NPROC, &rl_zero))
XWARNX("setrlimit: rlimit_nproc");