summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/namespace.c6
-rw-r--r--src/core/namespace.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/core/namespace.c b/src/core/namespace.c
index c2215090a9..ab03aebf5b 100644
--- a/src/core/namespace.c
+++ b/src/core/namespace.c
@@ -424,9 +424,9 @@ int setup_namespace(
char** read_write_dirs,
char** read_only_dirs,
char** inaccessible_dirs,
- char* tmp_dir,
- char* var_tmp_dir,
- char* bus_endpoint_path,
+ const char* tmp_dir,
+ const char* var_tmp_dir,
+ const char* bus_endpoint_path,
bool private_dev,
ProtectHome protect_home,
ProtectSystem protect_system,
diff --git a/src/core/namespace.h b/src/core/namespace.h
index 9cd420e958..1f9d0676b4 100644
--- a/src/core/namespace.h
+++ b/src/core/namespace.h
@@ -44,9 +44,9 @@ typedef enum ProtectSystem {
int setup_namespace(char **read_write_dirs,
char **read_only_dirs,
char **inaccessible_dirs,
- char *tmp_dir,
- char *var_tmp_dir,
- char *endpoint_path,
+ const char *tmp_dir,
+ const char *var_tmp_dir,
+ const char *endpoint_path,
bool private_dev,
ProtectHome protect_home,
ProtectSystem protect_system,