From: Jakub Bogusz Date: Wed, 17 Dec 2003 19:31:42 +0000 (+0000) Subject: - session handling fix (from mod_python CVS, found by Marcin Gajda) X-Git-Tag: auto/ac/apache-mod_python-3_1_2b-2~1 X-Git-Url: https://git.pld-linux.org/?p=packages%2Fapache-mod_python.git;a=commitdiff_plain;h=65fb470d245a4b8267d013fd1079670379df3ba6;hp=3409c261b40b14dde555dddce4a3f624cb73d7ef - session handling fix (from mod_python CVS, found by Marcin Gajda) Changed files: apache-mod_python-right-mutex-perms.patch -> 1.1 --- diff --git a/apache-mod_python-right-mutex-perms.patch b/apache-mod_python-right-mutex-perms.patch new file mode 100644 index 0000000..c8e1cf9 --- /dev/null +++ b/apache-mod_python-right-mutex-perms.patch @@ -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 + } + }