chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mkdir: append _label to all mkdir() calls that explicitly set the selinux context
[elogind.git]
/
src
/
journal
/
journald.c
diff --git
a/src/journal/journald.c
b/src/journal/journald.c
index f034a569a9fbf18d6799e30715b053dd19285bd1..e0e7cce1227d4aea19cc2934939efd56ae6445ee 100644
(file)
--- a/
src/journal/journald.c
+++ b/
src/journal/journald.c
@@
-1973,7
+1973,7
@@
static int system_journal_open(Server *s) {
/* OK, we really need the runtime journal, so create
* it if necessary. */
- (void) mkdir_parents(fn, 0755);
+ (void) mkdir_parents
_label
(fn, 0755);
r = journal_file_open_reliably(fn, O_RDWR|O_CREAT, 0640, NULL, &s->runtime_journal);
free(fn);