Set umask before mkstemp() for some versions of glibc
This commit is contained in:
1 parent
ee70057f76
commit
b6bd791e24
4 files changed
+16
-1
No files matched your search
+1
-1
@@ -38,7 +38,7 @@ makedaemon(void)
|
||||
exit(0);
|
||||
|
||||
chdir("/");
|
||||
umask(077);
|
||||
umask(0177);
|
||||
|
||||
#if NDEBUG
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user