X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=ocamlbotwrapper.c;h=27c334fcefb618ccc477a28fb8dc3f368cb835be;hb=e510484ab8b113b43cf95a18820ad3a0629edf4b;hp=c852850332aa26dba489a9f97bf2a7fd0f5b5601;hpb=5e6674263be334ebb33bfda3412b5c3682968d85;p=xavierbot.git diff --git a/ocamlbotwrapper.c b/ocamlbotwrapper.c index c852850..27c334f 100644 --- a/ocamlbotwrapper.c +++ b/ocamlbotwrapper.c @@ -1,5 +1,5 @@ /* -*- C -*- - * $Id: ocamlbotwrapper.c,v 1.4 2007/06/29 07:55:47 rjones Exp $ + * $Id: ocamlbotwrapper.c,v 1.8 2008/02/13 17:35:32 rjones Exp $ * SUID wrapper around ocaml program. */ @@ -51,7 +51,7 @@ main () setrlimit (RLIMIT_CORE, &lim); #endif #ifdef RLIMIT_CPU - lim.rlim_cur = lim.rlim_max = 60; /* seconds */ + lim.rlim_cur = lim.rlim_max = 10; /* seconds */ setrlimit (RLIMIT_CPU, &lim); #endif #ifdef RLIMIT_MEMLOCK