vp-build/srcpkgs/libcgroup/patches/CVE-2018-14348.patch

13 lines
267 B
Diff
Raw Normal View History

2018-10-16 16:49:43 +02:00
--- 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>