aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2019-12-28 21:14:20 -0800
committerGravatar MarkKoz <[email protected]>2019-12-28 21:14:20 -0800
commit4c27e7aec0f2b8e159eab12a148f5b4725163d07 (patch)
treec57afc6cc99e5bba51a58f1ff4bdd475eebec551
parentMount only what's needed in the chroot jail (diff)
Mount /usr/lib so ctypes can use libffi
-rw-r--r--snekbox.cfg7
1 files changed, 7 insertions, 0 deletions
diff --git a/snekbox.cfg b/snekbox.cfg
index 2f4a0e4..4cb58de 100644
--- a/snekbox.cfg
+++ b/snekbox.cfg
@@ -68,6 +68,13 @@ mount {
}
mount {
+ src: "/usr/lib"
+ dst: "/usr/lib"
+ is_bind: true
+ rw: false
+}
+
+mount {
src: "/usr/local/lib"
dst: "/usr/local/lib"
is_bind: true