diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-11-27 20:23:18 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-11-27 20:28:48 +0100 |
commit | 613b411c947635136637f8cdd66b94512f761eab (patch) | |
tree | 5e0713345af39de99409d2193be93ae9e760e1d2 /src/core/namespace.h | |
parent | TODO: add dbus runtime depedency (diff) | |
download | systemd-613b411c947635136637f8cdd66b94512f761eab.tar.xz systemd-613b411c947635136637f8cdd66b94512f761eab.zip |
service: add the ability for units to join other unit's PrivateNetwork= and PrivateTmp= namespaces
Diffstat (limited to 'src/core/namespace.h')
-rw-r--r-- | src/core/namespace.h | 11 |
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]); |