commit e2fccec
default
·
2025-01-05 12:36:39 +0000 UTC
parent dd550c8
New compilation variable WITHOUT_SANDBOX, to disable all sandboxing.
1 files changed,
+12,
-0
+12,
-0
1@@ -1,3 +1,13 @@
2+#ifdef WITHOUT_SANDBOX
3+
4+void sbox_enter(const char *basedir)
5+{
6+ /* nothing to do */
7+ (void)basedir;
8+}
9+
10+#else /* WITHOUT_SANDBOX */
11+
12 #include "xs.h"
13
14 #include "snac.h"
15@@ -113,3 +123,5 @@ void sbox_enter(const char *basedir)
16
17 #endif
18 }
19+
20+#endif /* WITHOUT_SANDBOX */