]> git.pld-linux.org Git - packages/gdm2.20.git/blame - gdm-xdmcp.patch
- security fix: creat files with 0660 mode (not 0666).
[packages/gdm2.20.git] / gdm-xdmcp.patch
CommitLineData
fbf7dcd4 1--- gdm-2.2.1/daemon/server.c.orig Sat May 5 11:05:32 2001
2+++ gdm-2.2.1/daemon/server.c Sat May 5 11:05:46 2001
3@@ -297,7 +297,7 @@
4
5 /* Log all output from spawned programs to a file */
6 logfd = open (g_strconcat (GdmLogDir, "/", d->name, ".log", NULL),
7- O_CREAT|O_TRUNC|O_APPEND|O_WRONLY, 0666);
8+ O_CREAT|O_TRUNC|O_APPEND|O_WRONLY, 0660);
9
10 if (logfd != -1) {
11 dup2 (logfd, 1);
This page took 0.070521 seconds and 4 git commands to generate.