]> TLD Linux GIT Repositories - packages/apache.git/blobdiff - apache-suexec_fcgi.patch
- PLD merge
[packages/apache.git] / apache-suexec_fcgi.patch
index 99bcfc316746e4b66c8bd0b5b96a5790b2b7e5b1..9e68c45cc58784ce4e70bea86e614a64bfabf3ed 100644 (file)
@@ -1,6 +1,7 @@
---- httpd-2.4.1/support/suexec.c.orig  2011-07-13 21:11:21.000000000 +0200
-+++ httpd-2.4.1/support/suexec.c       2012-02-22 00:26:17.549340557 +0100
-@@ -234,6 +234,21 @@
+diff -urNp httpd-2.2.8.orig/support/suexec.c httpd-2.2.8/support/suexec.c
+--- httpd-2.2.8.orig/support/suexec.c  2006-07-12 05:38:44.000000000 +0200
++++ httpd-2.2.8/support/suexec.c       2008-05-13 21:04:25.000000000 +0200
+@@ -245,6 +245,21 @@ static void clean_env(void)
      environ = cleanenv;
  }
  
@@ -22,7 +23,7 @@
  int main(int argc, char *argv[])
  {
      int userdir = 0;        /* ~userdir flag             */
-@@ -249,6 +264,7 @@
+@@ -261,6 +276,7 @@ int main(int argc, char *argv[])
      char dwd[AP_MAXPATH];   /* docroot working directory */
      struct passwd *pw;      /* password entry holder     */
      struct group *gr;       /* group entry holder        */
@@ -30,7 +31,7 @@
      struct stat dir_info;   /* directory info holder     */
      struct stat prg_info;   /* program info holder       */
  
-@@ -369,8 +385,23 @@
+@@ -382,8 +399,23 @@ int main(int argc, char *argv[])
      }
      else {
          if ((pw = getpwuid(atoi(target_uname))) == NULL) {
@@ -56,7 +57,7 @@
          }
      }
  
-@@ -549,20 +580,24 @@
+@@ -560,20 +592,24 @@ int main(int argc, char *argv[])
      }
  
      /*