Commit 5aee5df8 authored by Justin Erenkrantz's avatar Justin Erenkrantz
Browse files

mod_cgid: Refuse to work on Solaris 10 due to OS bugs.

PR: 34264


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@264866 13f79535-47bb-0310-9956-ffa450edef68
parent a344c639
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2,6 +2,9 @@
Changes with Apache 2.3.0
  [Remove entries to the current 2.0 and 2.2 section below, when backported]
  *) mod_cgid: Refuse to work on Solaris 10 due to OS bugs.  PR 34264.
     [Justin Erenkrantz]
  *) SECURITY: CAN-2005-2700 (cve.mitre.org)
     mod_ssl: Fix a security issue where "SSLVerifyClient" was not
     enforced in per-location context if "SSLVerifyClient optional"
+20 −1
Original line number Diff line number Diff line
@@ -14,7 +14,26 @@ APACHE_MODULE(suexec, set uid and gid for spawned processes, , , no, [
if ap_mpm_is_threaded; then
# if we are using a threaded MPM, we will get better performance with
# mod_cgid, so make it the default.
    APACHE_MODULE(cgid, CGI scripts, , , yes)
    APACHE_MODULE(cgid, CGI scripts, , , yes, [
    case $host in
      *-solaris2*)
        case `uname -r` in
          5.10)
          dnl Eventually, 120664 will be released for Solaris 10.
          dnl At that point, we can do a showrev -p search for that patch.
          dnl Solaris 11 (next release) as of snv_19 doesn't have this problem.
          dnl It may be possible to use /kernel/drv/tl from later releases.
          AC_MSG_ERROR([mod_cgid is non-functional on Solaris 10.
This means that threaded MPMs (such as worker MPM) with CGIs will not work.
This problem is due to an OS bug with AF_UNIX sockets.
Patches are forthcoming from Sun.
Please run configure with --disable-cgid or switch to the prefork MPM.
For more info: <http://issues.apache.org/bugzilla/show_bug.cgi?id=34264>])
          ;;
        esac
        ;;
    esac
  ])
    APACHE_MODULE(cgi, CGI scripts, , , no)
else
# if we are using a non-threaded MPM, it makes little sense to use