vp-build/srcpkgs/libcgroup/patches/CVE-2018-14348.patch
2018-10-16 12:04:11 -03:00

13 lines
267 B
Diff

--- src/daemon/cgrulesengd.c
+++ src/daemon/cgrulesengd.c
@@ -889,9 +889,6 @@
} else if (pid > 0) {
exit(EXIT_SUCCESS);
}
-
- /* Change the file mode mask. */
- umask(0);
} else {
flog(LOG_DEBUG, "Not using daemon mode\n");
pid = getpid();<Paste>