]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-suexec_fcgi.patch
- mod_auth{n,z}_* require appropriate core module
[packages/apache.git] / apache-suexec_fcgi.patch
index 5e27892d7b59a14bf26719b8a04ff904dcbd6f99..9e68c45cc58784ce4e70bea86e614a64bfabf3ed 100644 (file)
@@ -31,14 +31,6 @@ diff -urNp httpd-2.2.8.orig/support/suexec.c httpd-2.2.8/support/suexec.c
      struct stat dir_info;   /* directory info holder     */
      struct stat prg_info;   /* program info holder       */
  
-@@ -270,6 +286,7 @@ int main(int argc, char *argv[])
-     clean_env();
-     prog = argv[0];
-+
-     /*
-      * Check existence/validity of the UID of the user
-      * running this program.  Error out if invalid.
 @@ -382,8 +399,23 @@ int main(int argc, char *argv[])
      }
      else {
@@ -86,7 +78,7 @@ diff -urNp httpd-2.2.8.orig/support/suexec.c httpd-2.2.8/support/suexec.c
 +     * name/group is different from the name/group of the cwd
 +     * or the program.
 +     */
-+    if(!strcmp(base_pathname(prog),"suexec.fcgi")) {
++    if(strcmp(base_pathname(prog),"suexec.fcgi")) {
 +        if ((uid != dir_info.st_uid) ||
 +            (gid != dir_info.st_gid) ||
 +            (uid != prg_info.st_uid) ||
This page took 0.042776 seconds and 4 git commands to generate.