chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unit: rework trigger dependency logic
[elogind.git]
/
src
/
core
/
namespace.h
diff --git
a/src/core/namespace.h
b/src/core/namespace.h
index eb912e9e2da92b2f1e92cbc1809fabd975bb16d0..ddb579468d94fa0bbf3dbb2ac67d3c3e4dfddd99 100644
(file)
--- a/
src/core/namespace.h
+++ b/
src/core/namespace.h
@@
-1,7
+1,6
@@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-#ifndef foonamespacehfoo
-#define foonamespacehfoo
+#pragma once
/***
This file is part of systemd.
/***
This file is part of systemd.
@@
-24,11
+23,11
@@
#include <stdbool.h>
#include <stdbool.h>
-int setup_
namespace(
-
char **writable
,
-
char **readable
,
-
char **inaccessible
,
-
bool private_tmp
,
- unsigned long flags);
-
-#endif
+int setup_
tmpdirs(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);