Add Verilator support

This commit is contained in:
Nikolay Puzanov
2022-12-03 18:36:50 +03:00
parent f61bb7b980
commit 058191de55
7 changed files with 295 additions and 140 deletions

12
_web_server/server/restrict Executable file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
if [ -z "$DONOTUSEFIREJAIL" ]; then
exec firejail \
--quiet --noprofile \
--rlimit-cpu=5 \
--rlimit-as=250m \
--rlimit-fsize=250k \
"$@"
else
exec timeout -v -s KILL 5 "$@"
fi