Skip to content

Commit

Permalink
/usr/lib64 を追加してみる
Browse files Browse the repository at this point in the history
  • Loading branch information
melpon committed Oct 21, 2024
1 parent 25415ed commit 929a18c
Showing 1 changed file with 5 additions and 62 deletions.
67 changes: 5 additions & 62 deletions cattleshed/cattleshed.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@CATTLESHED_BINDIR@/cattlegrid",
"--uids=10000:1000000000",
"--rootdir=./jail",
"--mount=/bin,/etc,/lib,/lib64,/usr/bin,/usr/lib,/usr/include,/opt/wandbox,/usr/share",
"--mount=/bin,/etc,/lib,/lib64,/usr/bin,/usr/lib,/usr/lib64,/usr/include,/opt/wandbox,/usr/share",
"--rwmount=/tmp=./jail/tmp,/home/jail=./store",
"--devices=/dev/null,/dev/zero,/dev/full,/dev/random,/dev/urandom",
"--chdir=/home/jail",
Expand Down Expand Up @@ -52,7 +52,7 @@
"@CATTLESHED_BINDIR@/cattlegrid",
"--uids=10000:1000000000",
"--rootdir=./jail",
"--mount=/bin,/etc,/lib,/lib64,/usr/bin,/usr/lib,/usr/include,/opt/wandbox,/usr/share",
"--mount=/bin,/etc,/lib,/lib64,/usr/bin,/usr/lib,/usr/lib64,/usr/include,/opt/wandbox,/usr/share",
"--rwmount=/tmp=./jail/tmp,/home/jail=./store",
"--devices=/dev/null,/dev/zero,/dev/full,/dev/random,/dev/urandom",
"--chdir=/home/jail",
Expand Down Expand Up @@ -80,7 +80,7 @@
"@CATTLESHED_BINDIR@/cattlegrid",
"--uids=10000:1000000000",
"--rootdir=./jail",
"--mount=/bin,/etc,/lib,/lib64,/usr/bin,/usr/lib,/usr/include,/opt/wandbox,/usr/share",
"--mount=/bin,/etc,/lib,/lib64,/usr/bin,/usr/lib,/usr/lib64,/usr/include,/opt/wandbox,/usr/share",
"--rwmount=/tmp=./jail/tmp,/home/jail=./store",
"--devices=/dev/null,/dev/zero,/dev/full,/dev/random,/dev/urandom",
"--chdir=/home/jail",
Expand All @@ -92,63 +92,6 @@
"output-limit-kill":262144,
"output-limit-warn":131072,
},
"melpon2-sbcl":{
"jail-command":[
"/usr/bin/env",
"HOME=/home/jail",
"/usr/bin/nice",
"@CATTLESHED_BINDIR@/prlimit",
"--core=0",
"--cpu=30",
"--data=1073741824",
"--fsize=5242880",
"--nofile=1024",
"--nproc=128",
"--",
"@CATTLESHED_BINDIR@/cattlegrid",
"--uids=10000:1000000000",
"--rootdir=./jail",
"--mount=/bin,/etc,/lib,/lib64,/usr/bin,/usr/lib,/usr/include,/opt/wandbox,/usr/share",
"--rwmount=/tmp=./jail/tmp,/home/jail=./store",
"--devices=/dev/null,/dev/zero,/dev/full,/dev/random,/dev/urandom",
"--chdir=/home/jail",
"--",
],
"program-duration":60,
"compile-time-limit":60,
"kill-wait":5,
"output-limit-kill":262144,
"output-limit-warn":131072,
},
"melpon2-dotnetcore":{
"jail-command":[
"/usr/bin/env",
"HOME=/home/jail",
"/usr/bin/nice",
"@CATTLESHED_BINDIR@/prlimit",
"--core=0",
"--cpu=30",
"--data=1073741824",
"--fsize=5242880",
"--nofile=1024",
"--nproc=128",
"--",
"@CATTLESHED_BINDIR@/cattlegrid",
"--uids=10000:1000000000",
"--rootdir=./jail",
"--mount=/bin,/etc,/lib,/lib64,/usr/bin,/usr/lib,/usr/include,/opt/wandbox,/usr/share",
"--rwmount=/tmp=./jail/tmp,/home/jail=./store",
"--devices=/dev/null,/dev/zero,/dev/full,/dev/random,/dev/urandom",
"--chdir=/home/jail",
"--kill",
"--",
],
"program-duration":60,
"compile-time-limit":60,
"kill-wait":5,
"output-limit-kill":262144,
"output-limit-warn":131072,
},
"melpon2-julia":{
"jail-command":[
"/usr/bin/env",
Expand All @@ -166,7 +109,7 @@
"@CATTLESHED_BINDIR@/cattlegrid",
"--uids=10000:1000000000",
"--rootdir=./jail",
"--mount=/bin,/etc,/lib,/lib64,/usr/bin,/usr/lib,/usr/include,/opt/wandbox,/usr/share",
"--mount=/bin,/etc,/lib,/lib64,/usr/bin,/usr/lib,/usr/lib64,/usr/include,/opt/wandbox,/usr/share",
"--rwmount=/home/jail=./store",
"--devices=/dev/null,/dev/zero,/dev/full,/dev/random,/dev/urandom",
"--chdir=/home/jail",
Expand Down Expand Up @@ -195,7 +138,7 @@
"@CATTLESHED_BINDIR@/cattlegrid",
"--uids=10000:1000000000",
"--rootdir=./jail",
"--mount=/bin,/etc,/lib,/lib64,/usr/bin,/usr/lib,/usr/include,/usr/share",
"--mount=/bin,/etc,/lib,/lib64,/usr/bin,/usr/lib,/usr/lib64,/usr/include,/usr/share",
"--rwmount=/tmp=./jail/tmp,/home/jail=./store",
"--devices=/dev/null,/dev/zero,/dev/full,/dev/random,/dev/urandom",
"--chdir=/home/jail",
Expand Down

0 comments on commit 929a18c

Please sign in to comment.