Chromium Code Reviews| Index: experimental/webtry/safec++ |
| diff --git a/experimental/webtry/safec++ b/experimental/webtry/safec++ |
| new file mode 100755 |
| index 0000000000000000000000000000000000000000..71f1cc9816d376c43eed4b05b0cd3e30ac350187 |
| --- /dev/null |
| +++ b/experimental/webtry/safec++ |
| @@ -0,0 +1,6 @@ |
| +#!/bin/bash |
| +# Limit the amount of time and the core size for the compiler. |
|
mtklein
2014/04/30 19:16:30
set -e
?
jcgregorio
2014/04/30 19:23:47
Done.
|
| + |
| +ulimit -t 5 -c 1 |
|
mtklein
2014/04/30 19:16:30
Maybe just -c 0 if we're already willing to limit
jcgregorio
2014/04/30 19:23:47
Done.
|
| + |
| +c++ $@ |