You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by nd...@apache.org on 2004/04/24 21:42:52 UTC
cvs commit: httpd-2.0/os/unix unixd.c
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;
- /* } */
+ }
}