void-packages/srcpkgs/libcgroup/patches/CVE-2018-14348.patch

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>