]> git.pld-linux.org Git - packages/gdm2.20.git/commitdiff
- security fix: creat files with 0660 mode (not 0666).
authorkloczek <kloczek@pld-linux.org>
Sat, 16 Jun 2001 01:58:14 +0000 (01:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gdm-xdmcp.patch -> 1.3

gdm-xdmcp.patch [new file with mode: 0644]

diff --git a/gdm-xdmcp.patch b/gdm-xdmcp.patch
new file mode 100644 (file)
index 0000000..3de7bcb
--- /dev/null
@@ -0,0 +1,11 @@
+--- gdm-2.2.1/daemon/server.c.orig     Sat May  5 11:05:32 2001
++++ gdm-2.2.1/daemon/server.c  Sat May  5 11:05:46 2001
+@@ -297,7 +297,7 @@
+         /* Log all output from spawned programs to a file */
+       logfd = open (g_strconcat (GdmLogDir, "/", d->name, ".log", NULL),
+-                    O_CREAT|O_TRUNC|O_APPEND|O_WRONLY, 0666);
++                    O_CREAT|O_TRUNC|O_APPEND|O_WRONLY, 0660);
+       if (logfd != -1) {
+               dup2 (logfd, 1);
This page took 0.087809 seconds and 4 git commands to generate.