chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
umask: change default umask to 0022 just to be sure, and set it explicitly in all...
[elogind.git]
/
src
/
tmpfiles.c
diff --git
a/src/tmpfiles.c
b/src/tmpfiles.c
index 3a1985a36334c1b01dd1b6651fa39dbb89fd71fd..421a9154c5b0c1cdee9a21460f146ff2ddcb8390 100644
(file)
--- a/
src/tmpfiles.c
+++ b/
src/tmpfiles.c
@@
-972,6
+972,8
@@
int main(int argc, char *argv[]) {
log_parse_environment();
log_open();
+ umask(0022);
+
label_init();
items = hashmap_new(string_hash_func, string_compare_func);