Add firejail wrapper for simulator

This commit is contained in:
Nikolay Puzanov 2022-11-30 15:05:33 +03:00
parent ec22d48d67
commit 53e32b4ba8
3 changed files with 11 additions and 0 deletions

9
_web_server/firejailed.sh Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
exe=$(basename $0)
exec firejail --noprofile --quiet \
--rlimit-cpu=1 \
--rlimit-as=100m \
--rlimit-fsize=1m \
"$exe" "$@"

1
_web_server/iverilog Symbolic link
View File

@ -0,0 +1 @@
./firejailed.sh

1
_web_server/vvp Symbolic link
View File

@ -0,0 +1 @@
./firejailed.sh