- session handling fix (from mod_python CVS, found by Marcin Gajda)
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 17 Dec 2003 19:31:42 +0000 (19:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_python-right-mutex-perms.patch -> 1.1

apache-mod_python-right-mutex-perms.patch [new file with mode: 0644]

diff --git a/apache-mod_python-right-mutex-perms.patch b/apache-mod_python-right-mutex-perms.patch
new file mode 100644 (file)
index 0000000..c8e1cf9
--- /dev/null
@@ -0,0 +1,15 @@
+--- mod_python-3.1.2b.orig/src/mod_python.c    2003-10-22 21:57:04.000000000 +0200
++++ mod_python-3.1.2b/src/mod_python.c 2003-12-16 22:33:03.000000000 +0100
+@@ -419,7 +419,11 @@
+         }
+         else {
+ #if !defined(OS2) && !defined(WIN32) && !defined(BEOS) && !defined(NETWARE)
+-            chown(fname, unixd_config.user_id, -1);
++                      if( !geteuid() )
++                      {
++                  chown(fname, unixd_config.user_id, -1);
++                              unixd_set_global_mutex_perms(mutex[n]);
++                      }
+ #endif
+         }
+     }
This page took 0.058659 seconds and 4 git commands to generate.