Reviewed by: Jeff Trawick, Joe Orton
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@103787
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.0.50
+ *) Regression from 1.3: At startup, suexec now will be checked for
+ availability, the setuid bit and user root. The works only if
+ httpd is compiled with the shipped APR version (0.9.5).
+ [André Malo]
+
*) Unix MPMs: Stop dropping connections when the file descriptor
is at least FD_SETSIZE. [Jeff Trawick]
APACHE 2.0 STATUS: -*-text-*-
-Last modified at [$Date: 2004/05/26 18:08:34 $]
+Last modified at [$Date: 2004/05/26 23:03:12 $]
Release:
PR: 22030, 18348
+1: jorton, trawick
- *) Readd suexec setuid and user check (now APR supports it)
- os/unix/unixd.c: r1.69
- +1: nd, trawick
- +1: jorton, if surrounded with #ifdef APR_USETID to retain
- compatibility with APR <0.9.5
-
*) Prevent Win32 pool corruption at startup
server/mpm/winnt/child.c: r1.36
+1: ake, trawick, nd
return;
}
- /* XXX - apr_stat is incapable of checking suid bits (grumble) */
- /* if ((wrapper.filetype & S_ISUID) && wrapper.user == 0) { */
+/* since APR 0.9.5 */
+#ifdef APR_USETID
+ if ((wrapper.protection & APR_USETID) && wrapper.user == 0) {
+#endif
unixd_config.suexec_enabled = 1;
- /* } */
+#ifdef APR_USETID
+ }
+#endif
}