httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject cvs commit: httpd-2.0/os/unix unixd.c
Date Sat, 24 Apr 2004 19:42:52 GMT
nd          2004/04/24 12:42:52

  Modified:    os/unix  unixd.c
  Log:
  readd suexec setuid and user check
  
  Related to PR: 28287
  
  Revision  Changes    Path
  1.69      +2 -3      httpd-2.0/os/unix/unixd.c
  
  Index: unixd.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/os/unix/unixd.c,v
  retrieving revision 1.68
  retrieving revision 1.69
  diff -u -u -r1.68 -r1.69
  --- unixd.c	19 Mar 2004 11:16:03 -0000	1.68
  +++ unixd.c	24 Apr 2004 19:42:52 -0000	1.69
  @@ -213,10 +213,9 @@
           return;
       }
   
  -    /* XXX - apr_stat is incapable of checking suid bits (grumble) */
  -    /* if ((wrapper.filetype & S_ISUID) && wrapper.user == 0) { */
  +    if ((wrapper.protection & APR_USETID) && wrapper.user == 0) {
           unixd_config.suexec_enabled = 1;
  -    /* } */
  +    }
   }
   
   
  
  
  

Mime
View raw message