chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
man: extend sd-login(7) in regards to mixing D-Bus and synchronous library calls...
[elogind.git]
/
src
/
uaccess.c
diff --git
a/src/uaccess.c
b/src/uaccess.c
index 786f0ef6418b71e2611e28b7f7b4e659134c39b7..49ac4af0f4c18c704c789bb060bc552590fbf99c 100644
(file)
--- a/
src/uaccess.c
+++ b/
src/uaccess.c
@@
-38,6
+38,8
@@
int main(int argc, char *argv[]) {
log_parse_environment();
log_open();
+ umask(0022);
+
if (argc < 2 || argc > 3) {
log_error("This program expects one or two arguments.");
r = -EINVAL;