summaryrefslogtreecommitdiff
path: root/src/core/namespace.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/namespace.h')
-rw-r--r--src/core/namespace.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/core/namespace.h b/src/core/namespace.h
index ee7416b7bd..af0c01df9a 100644
--- a/src/core/namespace.h
+++ b/src/core/namespace.h
@@ -23,14 +23,15 @@
#include <stdbool.h>
-int setup_tmpdirs(const char *unit_id,
- char **tmp_dir,
- char **var_tmp_dir);
-
int setup_namespace(char **read_write_dirs,
char **read_only_dirs,
char **inaccessible_dirs,
char *tmp_dir,
char *var_tmp_dir,
- bool private_tmp,
unsigned mount_flags);
+
+int setup_tmp_dirs(const char *id,
+ char **tmp_dir,
+ char **var_tmp_dir);
+
+int setup_netns(int netns_storage_socket[2]);