aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/init.d/functions4
1 files changed, 4 insertions, 0 deletions
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.
$*
}