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
/
nspawn.c
diff --git
a/src/nspawn.c
b/src/nspawn.c
index a1ed425f05818ab970d262447e467ad71ac63351..f4d63ea26536fe28553678e78cb9fa0e1ac7777f 100644
(file)
--- a/
src/nspawn.c
+++ b/
src/nspawn.c
@@
-314,7
+314,6
@@
static int copy_devnodes(const char *dest, const char *console) {
}
finish:
-
umask(u);
return r;
@@
-776,7
+775,7
@@
int main(int argc, char *argv[]) {
goto child_fail;
}
- umask(00
0
2);
+ umask(00
2
2);
if (drop_capabilities() < 0)
goto child_fail;