From: John Crispin Date: Mon, 24 Jun 2013 16:56:34 +0000 (+0200) Subject: set global umask to 0 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bdac146facb72ce3f88f682d598d3124ec73fe78;p=oweals%2Fprocd.git set global umask to 0 Signed-off-by: John Crispin --- diff --git a/main.c b/main.c index f97a9ea..71531e3 100644 --- a/main.c +++ b/main.c @@ -14,6 +14,7 @@ #include #include +#include #include #include @@ -67,6 +68,7 @@ int main(int argc, char **argv) return usage(argv[0]); } } + umask(0); uloop_init(); procd_signal(); if (getpid() != 1)