From 535d44b3817e63611eef42e2122245ce5f07991a Mon Sep 17 00:00:00 2001 From: Erik Troan Date: Thu, 9 Oct 1997 13:03:12 +0000 Subject: added ulimit -c 0 to daemon function --- rc.d/init.d/functions | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rc.d') diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions index 7e42deb1..9fadf536 100755 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -29,6 +29,10 @@ daemon() { # echo basename of the program. echo -n "$base " + # make sure it doesn't core dump anywhere; while this could mask + # problems with the daemon, it also closes some security problems + ulimit -c 0 + # And start it up. $* } -- cgit v1.2.1