summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2020-12-07 23:47:39 +0300
committerEvgeny Zinoviev <me@ch1p.io>2020-12-07 23:47:55 +0300
commita5511a0b0f74cc15c807bcee39fd9b4bc44beae2 (patch)
tree44595ba638d1123244c1f02a2aee183c5686454f /config.h
parent2551cab43facf32a5a2b3768ae3034cd10095619 (diff)
implement a way for programs in the mount namespace (with glibc binaries) to launch processes in the original namespace (with musl binaries)
Diffstat (limited to 'config.h')
-rw-r--r--config.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/config.h b/config.h
new file mode 100644
index 0000000..60f7fd4
--- /dev/null
+++ b/config.h
@@ -0,0 +1,13 @@
+#ifndef VOIDNSRUN_CONFIG_H
+#define VOIDNSRUN_CONFIG_H
+
+#define PROG_VERSION "1.2"
+#define USER_LISTS_MAX 50
+#define CONTAINER_DIR_VAR "VOIDNSRUN_DIR"
+#define UNDO_BIN_VAR "VOIDNSUNDO_BIN"
+#define SOCK_DIR_VAR "VOIDNSRUN_SOCK_DIR"
+#define SOCK_DIR_DEFAULT "/run/voidnsrun"
+#define SOCK_NAME "/sock"
+#define VOIDNSUNDO_NAME "voidnsundo"
+
+#endif //VOIDNSRUN_CONFIG_H